Skip to content
einvoicing.dev

Problems·HTTP 405

method-not-allowed

That method is not allowed here.

What it means

The path exists but does not accept this HTTP method.

What to do

The Allow header and the API reference list the methods the path accepts.

Example

Sent as application/problem+json (RFC 9457). Branch on type, which is stable. Never branch on title or detail, which are prose and may change.

Exampleapplication/problem+json
{  "type": "https://www.einvoicing.dev/problems/method-not-allowed",  "title": "That method is not allowed here.",  "status": 405,  "detail": ""}
All problem types

Every error the API can return, with what to do about each.

API reference

Every operation, its parameters and the errors it can answer with.