googleapis / googleapis/java-genai

ServiceTier when using Vertex AI

Open
#972 7 comments 0 reactions 2 assignees Claimed by @jaycee-li View on GitHub
priority: p2 type: bug
Dominant language
Java
Stars
397
Forks
125
Avg merge
2d 8h
Merged PRs (30d)
41

Description

When using Vertex AI, if I try to set the ServiceTier (e.g: FLEX), I receive the following error:

```java
{
"error": {
"code": 400,
"message": "Invalid value at 'service_tier' (type.googleapis.com/google.cloud.aiplatform.v1beta1.ServiceTier), \"flex\"",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "service_tier",
"description": "Invalid value at 'service_tier' (type.googleapis.com/google.cloud.aiplatform.v1beta1.ServiceTier), \"flex\""
}
]
}
]
}
}
```

This problem seems very similar to: https://github.com/googleapis/js-genai/issues/1468 in particular see https://github.com/googleapis/js-genai/issues/1468#issuecomment-4229949570

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.