Error Responsesbeginner

Not Found Error JSON Example

A concise 404-style payload that identifies the missing resource cleanly.

Real-world use case: Use this for REST APIs, docs, and route-level error examples.
1{
2 "error": {
3 "code": "RESOURCE_NOT_FOUND",
4 "message": "No order was found for the provided ID.",
5 "resource": "order",
6 "resourceId": "ord_9999"
7 }
8}

Where this shape shows up in production

REST APIs
Support tooling
Error docs

Related examples