When making a request to the Okta API, one of the following errors is returned (depending on the API client being used):
- Method Not Allowed
- The endpoint does not support the provided HTTP method
- 405
- E0000022
- Okta API
- Okta Classic Engine
Possible causes:
- The HTTP method being used is not valid for the request (for example, POST or PATCH is being called on an endpoint that only supports GET).
- The API request query string was not formed correctly or is invalid. For example:
GET {{url}}/api/v1/logs/api/v1/logs?q=logout
api/v1/logs endpoint is duplicated in the query string to replicate the error. - The URL entered begins with
httpinstead ofhttps.
- Ensure that both a valid HTTP Method and a query string are being requested.
- Ensure the URL entered starts with
https, notHTTP.
Related References
- For additional information on how to use the Okta API and response error codes, please see API Reference Guide.
