Lewati ke konten

method_not_allowed

method_not_allowed: HTTP 405, request error. This HTTP method is not allowed for this endpoint.


Kode method_not_allowed
Jenis request_error
Status HTTP 405
Pesan bawaan (dari API, Inggris) This HTTP method is not allowed for this endpoint.

Masalahnya ada di request atau di keadaan resource. Ubah sesuatu sebelum mengirim lagi.

Setiap error punya bentuk yang sama; error.code adalah kode ini, dan meta.request_id adalah yang disebutkan saat kamu bertanya kepada kami tentang sebuah request.

{
"error": {
"type": "request_error",
"code": "method_not_allowed",
"detail": "This HTTP method is not allowed for this endpoint.",
"documentation_url": "https://docs.baiyar.com/resources/errors/method_not_allowed/"
},
"meta": { "request_id": "req_…" }
}

Semua kode error