Skip to main content
Every /v1 error uses a small envelope with a stable code, a human message, and a request_id. The same code is used in JSON and XML. Every response also carries the X-Request-Id header — please include it when you email inraasth@inra.co.th. JSON:
XML:
The OAuth token endpoint is the exception: it uses standard OAuth error JSON (for example invalid_client), not this envelope.

Codes

A staging_restriction code exists in the catalogue for environment-specific constraints; you should not see it on the public sandbox or production hosts.

Retries

  • Honour Retry-After on 429 and 503.
  • Retry order_failed and service_unavailable; do not retry company_retired, order_cancelled, or validation_error without changing the request.
  • Idempotency for a retried report order is not expressed as a client key in v1. Use your reference to recognise a duplicate on your side, and email inraasth@inra.co.th if a production retry may have created two orders.
Default per-client rate limits are described in Authentication.