auth.invalid_credential
The credential was refused
| Type | https://mthds.ai/errors/auth.invalid_credential |
| Family | auth: Credentials and permissions. |
| Domain | account: the account's owner acts |
| Retry | no: repeating the operation fails the same way |
| HTTP status | 401 |
| Raised as | a problem document, sent as the body of an HTTP response or kept in a run's record |
What it means
The credential is unknown to the runtime, revoked or malformed.
What to do
Compare the configured credential with the one the account issued, issue a new one if it was revoked, and send the request again.
Next steps
A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the account's owner, and the second for any other reader.
| Reader | Kind | Detail |
|---|---|---|
| The domain's actor | check_credentials |
Check that the credential is the one issued for this runtime and that it was not revoked, then send the request again. |
| Any other reader | contact_owner |
Ask the account's owner for a valid credential. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
The runtime refused the request's credential.
Parameters
This code declares no parameters, so its problems carry no params.
See also
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry