Skip to main content

401 Unauthorized

The request lacks valid authentication credentials for the target. The response must include a WWW-Authenticate header saying how to authenticate.

4xx · Client error

Typical causes

A missing, expired or malformed token or API key, or credentials sent to the wrong host. Despite the name, it is about authentication, not permission.

On Bex

From the Bex API, renew the credentials and check that you are calling the right API origin and that the OAuth configuration matches it.

Read the Bex guide

Defined in RFC 9110, §15.5.2