invalid_api_key

HTTP 401 · authentication_error

The API key is wrong, revoked, or does not exist.

You are not charged for this error. JustAPI only ever bills a completed job whose output was smaller than its input — never a request that failed, regardless of whose fault it was.

What to do

Check the key.

Response shape

{
  "error": {
    "code": "invalid_api_key",
    "message": "<details for this specific request>",
    "type": "authentication_error",
    "doc_url": "https://justapi.tech/docs/errors/invalid_api_key/",
    "request_id": "req_..."
  }
}

All error codes · API reference