Skip to Content
NoCam API
Errors

bad_input_file

The model couldn't read a file

  • Where: error of a generation with status: "failed"
  • Charged: No
  • Worth retrying: Not as it is. The request has to change first.

What happened

A file was accepted but the model couldn't open it. The credits came back.

What to do

Check that the file opens and isn't damaged, or upload it again.

What it looks like

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

{
  "status": "failed",
  "error": {
    "code": "bad_input_file",
    "message": "A file was accepted but the model couldn't open it. The credits came back.",
    "hint": "Check that the file opens and isn't damaged, or upload it again.",
    "retryable": false,
    "docs_url": "https://docs.nocamclub.com/errors/bad_input_file"
  }
}

All codes: Errors.

On this page