Skip to Content
NoCam API
Errors

input_refused

Refused by content rules

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

What happened

The prompt or a file breaks the content rules. As a 400, it was refused at the door. On a failed generation, the model refused a file: it took it for a real person or a protected work.

What to do

Change the prompt or the file. Don't repeat the same request: refusals count toward a pause of the account.

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": "input_refused",
    "message": "The prompt or a file breaks the [content rules](/rules). As a 400, it was refused at the door. On a failed generation, the model refused a file: it took it for a real person or a protected work.",
    "hint": "Change the prompt or the file. Don't repeat the same request: refusals count toward a pause of the account.",
    "retryable": false,
    "request_id": "req_01a1b37b65dc7dcd8c060f296add5cf8",
    "docs_url": "https://docs.nocamclub.com/errors/input_refused"
  }
}

All codes: Errors.

On this page