Skip to content

Method is not allowed (method_not_allowed) ​

HTTP 405Orion /v3 ProblemCode: method_not_allowed
Type URI: https://orion.stellarchain.io/problems/method_not_allowed

Only `GET` (and `HEAD`) requests are allowed on `/v3` query endpoints.

How to Resolve method_not_allowed

  1. Inspect the status (405), code (method_not_allowed), and detail fields in the JSON response.
  2. For 400 validation errors (invalid_*), verify query parameters against the Endpoints Reference or Statistics Catalog (GET /v3/statistics).
  3. For 404 errors (*_not_found), confirm the resource exists on Stellar Pubnet.
  4. For 409, 429, 503, or 504 transient states, retry with exponential backoff.

Example Response & Client Handling ​

json
{
  "type": "https://orion.stellarchain.io/problems/method_not_allowed",
  "title": "Method is not allowed",
  "status": 405,
  "detail": "Method is not allowed",
  "code": "method_not_allowed"
}
typescript
const res = await fetch('https://pubnet.stellarchain.io/v3/statistics');
if (!res.ok) {
  const problem = await res.json();
  if (problem.code === 'method_not_allowed') {
    console.error('Orion /v3 Problem [method_not_allowed]:', problem.detail);
  }
}
bash
curl -i -s "https://pubnet.stellarchain.io/v3/statistics" \
  -H "Accept: application/json"

← Back to All 53 Orion /v3 Problem Codes

Open-Source Stellar Horizon & Orion Documentation under MIT License.