HTTP status 405. An API key request can get this code.
The path exists, but not with this HTTP method.
Recovery
Use a method from the Allow response header. Read the API reference for the endpoint.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.