method_not_allowed
You reached a real route with the wrong verb. Nothing was created, sent or charged.
Status: 405
{
"status": 405,
"type": "method_not_allowed",
"message": "This method is not allowed for this path",
"request_id": "req_01J8K2P...",
"doc_url": "https://docs.epostix.com/errors/method_not_allowed"
}
Why you got this
- You sent
POSTto a path that only lists, orGETto one that only creates. - You used
PUTwhere the endpoint expectsPATCH, or the reverse. - A record path was called without its id, so the request landed on the collection instead.
- A client helper defaulted to
GETwhile the body you passed was meant for aPOST.
How to fix it
Check the verb for that exact path in the API reference and send the same body again with the correct one. The method is part of the route, so a valid path with the wrong verb never falls through to a similar endpoint.
If the path itself is wrong rather than the verb, you get not_found
instead, and a URL missing the /v1 prefix lands there too.
Is it safe to retry
No, not with the same method. The route will reject it every time. Nothing was stored, so
reusing the same Idempotency-Key on the corrected request is safe.