Unquant

Opening your workspace…

Unquant

Errors

HTTP status codes returned by the API, what causes them and what to do.

Errors are JSON. Include the request_id when you contact support.

{"error": {"message": "...", "type": "invalid_request_error"}, "request_id": "..."}
400
Invalid request

Check the JSON, the messages array, field types, and that images are base64 data URLs.

401
Missing or invalid API key

Send Authorization: Bearer YOUR_KEY with a current, unrevoked key.

403
No access to this model

Your subscription is inactive, or the model ID is not on your plan. Check Billing and the model ID in your workspace.

404
Unknown model

Use a model ID from GET /v1/models.

413
Request body too large

Reduce the request size; very large images are the usual cause.

415
Not JSON

Send Content-Type: application/json.

429
Concurrent stream limit reached

All your plan's streams are busy. The request was not started; retry when one finishes. Running streams are unaffected.

502
Invalid response from the model

Retry the request.

503
Temporarily unavailable

A brief restart or maintenance. Wait for the Retry-After header (seconds) and retry.

Support

Model availability and account access are shown under Service status in your workspace. For anything else, email contact@unquant.io.

Developer guide