Skip to navigation
Yoco APIError codes

Method not allowed

This problem occurs when the provided method isn’t allowed for the requested resource.

Troubleshooting

  • Are you sure you’re using the correct HTTP method? You might have accidentally tried to do a GET on a POST endpoint, or vice versa.

Example error

{
"type": "https://developer.yoco.com/docs/api/error-codes/method-not-allowed",
"title": "Method Not Allowed",
"detail": "The provided HTTP method is not supported on this resource.",
"status": 405,
"code": "method_not_allowed"
}