EmailmoversMyDataHub docs
Browse the docs

Errors

Platform

Method not allowed

method-not-allowed: HTTP 405. Use a method named in the Allow header; every path starts /v1 and /v1/openapi.json lists them.

Generated from the contractsView as Markdown

method-not-allowed is returned with HTTP status 405. Its type URI is https://emailmovers.com/mydatahub/docs/errors/method-not-allowed.

What it means

The path exists, but not for the HTTP method you used. The Allow header names the methods that work there, as RFC 9110 asks. Nothing was charged.

What to do

Use a method named in the Allow header; every path starts /v1 and /v1/openapi.json lists them.

Example

{
  "type": "https://emailmovers.com/mydatahub/docs/errors/method-not-allowed",
  "title": "Method not allowed",
  "status": 405,
  "code": "method-not-allowed",
  "detail": "POST is not available at /v1/plans; GET is.",
  "next_step": "Use a method named in the Allow header; every path starts /v1 and /v1/openapi.json lists them."
}

See also

All problem types are listed on Errors.