Skip to Content
NoCam API
Errors

unknown_model

That model isn't on sale

  • Where: HTTP 400, and nothing started
  • Charged: No
  • Worth retrying: Not as it is. The request has to change first.

What happened

The model id doesn't exist, or the model isn't sold through the API right now.

What to do

List what's on sale with GET /v1/models and use an id from it.

What it looks like

The real message and hint name the details of your request, such as the field and the values that work.

{
  "error": {
    "code": "unknown_model",
    "message": "The model id doesn't exist, or the model isn't sold through the API right now.",
    "hint": "List what's on sale with `GET /v1/models` and use an `id` from it.",
    "retryable": false,
    "request_id": "req_01a1b37b65dc7dcd8c060f296add5cf8",
    "docs_url": "https://docs.nocamclub.com/errors/unknown_model"
  }
}

All codes: Errors.

On this page