401
A model call returns 401.
Cause
The key is missing, mistyped, or revoked.Solution
- Check that
ATLAN_API_KEYis set in the shell that runs the client. - Run
GET /modelsagain and confirm the model is listed.
404 with not_found
A model call returns 404 with not_found.
Cause
Themodel is not one you can route to, or the operation is not served.
Solution
- Copy the
idexactly fromGET /models, and check Supported operations. - Run
GET /modelsagain and confirm the model is listed.
400 with invalid_request
A model call returns 400 with invalid_request.
Cause
The request does not fit the model, such as an embedding model on chat completions, or it uses a field the gateway refuses.Solution
- Check the model’s
modalityinGET /models, and the fields under Supported operations. - Make the call again and confirm it returns a model reply.
400 with model_request_unsupported
An image generation returns 400 with model_request_unsupported.
Cause
The request named a field a Gemini image model on a Vertex provider can’t honor, such asresponse_format: url or background: transparent. The error names the field.
Solution
- Remove the named field, or change it to a value the model serves, as Supported operations describes.
- Make the call again and confirm it returns an image.
503 with service_unavailable
A model call returns 503 with service_unavailable.
Cause
The model’s provider is unavailable.Solution
- Retry later, or pick a model from another provider.
- Make the call again and confirm it returns a model reply.
429
A model call returns 429.
Cause
A budget or rate limit refused the call.Solution
- The error names the limit that refused it.
- Ask your admin to raise it, or wait for the window to reset.
- Make the call again and confirm it returns a model reply.
Model missing from GET /models
A model is missing from GET /models.
Cause
Its provider or the model is disabled, or it is not in your workspace.Solution
- Ask your admin to enable it.
- Run
GET /modelsagain and confirm the model is listed.
See also
- Connect client to Model Gateway: Base URLs, models, and supported operations.
- AI Gateway: How the gateways fit together.