authentication_required

The API key in the request is invalid, expired, or missing. Generate a new key and update your client configuration.

The authentication_required error occurs when the API request lacks valid authentication credentials.

circle-info

This is classified as a platform error (task state → ERROR) rather than a user error, because it typically indicates a configuration issue with the API key rather than a problem with the task itself.


Details

  • HTTP Status: 401 Unauthorized

  • Retryable: No

  • Task State: ERROR


When does this occur?

This error is returned when:

  • The Authorization header is missing from the request

  • The API key has been revoked or has expired

  • The API key is malformed or invalid


Example response


How to resolve

  1. Generate a new API key from the Oz web apparrow-up-right or via the Oz CLI.

  2. Update your client configuration with the new key.

  3. Retry the request.


Last updated

Was this helpful?