/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:
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-Afteron429and503. - Retry
order_failedandservice_unavailable; do not retrycompany_retired,order_cancelled, orvalidation_errorwithout changing the request. - Idempotency for a retried report order is not expressed as a client key in v1. Use your
referenceto recognise a duplicate on your side, and email inraasth@inra.co.th if a production retry may have created two orders.

