Skip to main content

Platform API Errors

Find the stable ProblemDetail.code returned by the Platform API, then open its reference page for likely causes, remediation, retry guidance, and an example response.

Enter a code such as invalid_cursor, an HTTP status such as 429, or a keyword such as permissions.

23 documented errors

Error codeHTTP statusWhat it means
invalid_request400The request could not be processed because the payload, parameters, or request structure is invalid.
missing_required_field400The request is missing a field that the endpoint requires.
invalid_parameter400A request parameter or field is present but has an invalid value.
invalid_cursor400The pagination cursor cannot be used for this request.
expired_cursor400The pagination cursor was valid previously but is no longer usable.
invalid_filter400A filter in the request is not valid for the endpoint or datasource scope.
invalid_datasource400The requested datasource scope is unknown, inaccessible, or not valid for the operation.
authentication_required401The API request did not include valid authentication credentials.
token_expired401The authentication token was valid but has expired.
insufficient_permissions403The caller is authenticated but is not allowed to perform the requested operation.
spend_limit_exceeded403The request was rejected because a configured spend limit for the deployment has been reached.
resource_not_found404The requested resource or endpoint could not be found or is not visible to the caller.
method_not_allowed405The endpoint exists but does not support the HTTP method used by the request.
request_timeout408The server timed out while processing the request.
request_too_large413The request body is larger than the API accepts.
token_limit_exceeded413The request exceeded the model's token limit, which caps how much content the model can process in one operation.
conflict409The request conflicts with the current state of the resource.
gone410The resource or operation is no longer available.
unprocessable_query422The API understood the request shape but could not process the query semantics.
tools_unauthorized422The request targets an agent that uses tools the end user has not authorized, so the run cannot start.
rate_limit_exceeded429The caller has sent too many requests in a time window.
internal_error500The API encountered an unexpected error while processing the request.
service_unavailable503The API is temporarily unable to serve the request.