The following table lists API error codes along with their error messages and descriptions.
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | BadRequest | Bad Request | Bad request. |
| 400 | UnsupportedInCurrentEnv | The API is not supported in the current version. | The API is not supported in the current instance version. To see which versions are supported, refer to the Applicable Version field in the API's documentation. For example, Enterprise Standard Edition and Enterprise Dedicated Edition. |
| 400 | UnsupportedCurrentTokenType | The API does not support the current token type. | The API does not support the current token type. Check the API documentation to confirm the required authentication method. In the Prerequisites section of the relevant API documentation (for example, ListMembers), confirm that the required authentication method is Obtain a Personal Access Token. For instructions, see the "Obtain a Personal Access Token" guide. |
| 401 | Unauthorized | Unauthorized | Unauthorized. |
| 401 | ExpiredTokenError | Token has expired | The token has expired. |
| 401 | InvalidTokenError | Token is invalid | The token is invalid. |
| 403 | Forbidden.InvalidUser.UserNotInCurrentOrganization | The current user is not in the organization and lacks the required permission. | The current user is not a member of the organization. |
| 403 | Forbidden.InvalidOrganizationMember | The current user is not a valid member of this organization and lacks the required permission. | The user is not a valid member of the organization and lacks the permission to perform the operation. |
| 403 | Forbidden | Forbidden | Permission denied. |
| 429 | TooManyRequests | Too many requests | The number of requests has exceeded the rate limit. |
| 500 | InternalServerError | An internal error occurred. | An internal error occurred. |