Skip to main content
When a request fails, the Nebius AI Cloud API returns a status code and an error message. For example:
The response header contains an HTTP status code, and the response body includes the following:
  • code: Numeric canonical gRPC status code that correlates with the HTTP status code based on the Google RPC specification.
  • message: Description of the error.
In this example, the gRPC status code is 3 INVALID_ARGUMENT, which corresponds to 400 Bad Request in HTTP. The Nebius AI Cloud API only uses canonical codes in the full list of gRPC status codes. The following table describes the possible status codes:
The list doesn’t include the 2 UNKNOWN, 12 UNIMPLEMENTED and 15 DATA_LOSS errors because the REST API by Nebius AI Cloud never returns them.