SpyBara
Go Premium

Documentation 2026-10-20 23:02 UTC to 2026-10-21 23:02 UTC

3 files changed +5 −5. View all changes and history on the product overview
2026
Sat 31 23:01 Fri 30 23:59 Thu 29 23:59 Wed 28 23:00 Tue 27 23:58 Mon 26 23:58 Sat 24 23:02 Fri 23 23:58 Thu 22 22:59 Wed 21 23:02 Tue 20 23:02 Mon 19 23:00 Sun 18 23:00 Sat 17 22:57 Fri 16 23:02 Thu 15 23:00 Wed 14 23:59 Tue 13 23:00 Sun 11 23:59 Sat 10 23:58 Fri 9 22:57 Thu 8 23:01 Wed 7 23:57 Tue 6 22:58 Mon 5 22:59 Sun 4 22:58 Fri 2 23:58 Thu 1 22:59
Details

39### 400 - Invalid service_tier argument39### 400 - Invalid service_tier argument

40 40 

41 41 

42The API returns the message "Invalid service_tier argument: The requested service tier is not allowed for this project." as an `invalid_request_error` with `error.param` set to `service_tier` when a request selects or resolves to a service tier that is not allowed for the project.42The API returns the message "Invalid `service_tier` argument: The requested service tier is not allowed for this project." as an `invalid_request_error` with `error.param` set to `service_tier` when a request selects or resolves to a service tier that is not allowed for the project.

43 43 

44Project restrictions apply to the `default`, `flex`, and `priority` service tiers. The `fast` service tier is evaluated as `priority`. Requests that omit `service_tier` or set it to `auto` can also return this error if they resolve to a disallowed tier. Scale Tier remains outside this project policy.44Project restrictions apply to the `default`, `flex`, and `priority` service tiers. The `fast` service tier is evaluated as `priority`. Requests that omit `service_tier` or set it to `auto` can also return this error if they resolve to a disallowed tier. Scale Tier remains outside this project policy.

45 45 

46To resolve this error:46To resolve this error:

47 47 

48- Check the allowed service tiers in [project settings](https://platform.openai.com/settings/).48- Check the allowed service tiers in [project settings](https://platform.openai.com/settings/) and [organization settings](https://platform.openai.com/settings/organization/general#service-tiers). Projects cannot enable tiers blocked by the organization.

49- Set `service_tier` to a tier allowed for the project.49- Set `service_tier` to a tier allowed for the project.

50- If the request uses `auto` or omits `service_tier`, update the project settings so the resolved tier is allowed.50- If the request uses `auto` or omits `service_tier`, update the project settings so the resolved tier is allowed.

51 51 


80 80 

81This error message indicates that the API key you are using in your request is not correct. This could happen for several reasons, such as:81This error message indicates that the API key you are using in your request is not correct. This could happen for several reasons, such as:

82 82 

83- There is a typo or an extra space in your API key.83- Your API key contains a typo or an extra space.

84- You are using an API key that belongs to a different organization or project.84- You are using an API key that belongs to a different organization or project.

85- You are using an API key that has been deleted or deactivated.85- You are using an API key that has been deleted or deactivated.

86- An old, revoked API key might be cached locally.86- An old, revoked API key might be cached locally.

libraries.md +1 −1

Details

173<dependency>173<dependency>

174 <groupId>com.openai</groupId>174 <groupId>com.openai</groupId>

175 <artifactId>openai-java</artifactId>175 <artifactId>openai-java</artifactId>

176 <version>4.87.1</version>176 <version>4.89.0</version>

177</dependency>177</dependency>

178```178```

179 179 

quickstart.md +1 −1

Details

190<dependency>190<dependency>

191 <groupId>com.openai</groupId>191 <groupId>com.openai</groupId>

192 <artifactId>openai-java</artifactId>192 <artifactId>openai-java</artifactId>

193 <version>4.87.1</version>193 <version>4.89.0</version>

194</dependency>194</dependency>

195```195```

196 196