List the API error codes
curl --request GET \
--url https://useorgx.com/api/v1/errorsconst options = {method: 'GET'};
fetch('https://useorgx.com/api/v1/errors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/errors"
response = requests.get(url)
print(response.text){
"data": {
"version": "1",
"docs_url_template": "https://docs.useorgx.com/api/errors/{code}",
"envelope": {
"error": {
"code": "The registry code. Stable; safe to branch on.",
"message": "A curated sentence. Human-facing; never branch on it.",
"requestId": "Correlates this response with the server log line."
}
},
"errors": [
{
"code": "not_found",
"status": 404,
"retryable": false,
"title": "No resource is reachable at that id.",
"remedy": "Confirm the id and that your credential reaches its workspace. Unknown and out-of-scope ids return the same 404."
},
{
"code": "rate_limited",
"status": 429,
"retryable": true,
"title": "The credential exceeded its rate class for this window.",
"remedy": "Wait `Retry-After` seconds. Budgets are per credential and per class, not per route."
}
]
},
"meta": {
"apiVersion": "1",
"count": 218
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"issues": [
{}
]
},
"ok": true,
"valid": true
}API discovery
List the API error codes
Every error code the API emits, with the status it carries, whether repeating the request can succeed, what happened, and what to do about it.
This is the registry behind the docsUrl on every error body. It is account-free and served
from a compiled constant, so it stays available while the dependency that caused your error
is still failing. Pass ?code= to resolve a single entry.
GET
/
errors
List the API error codes
curl --request GET \
--url https://useorgx.com/api/v1/errorsconst options = {method: 'GET'};
fetch('https://useorgx.com/api/v1/errors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/errors"
response = requests.get(url)
print(response.text){
"data": {
"version": "1",
"docs_url_template": "https://docs.useorgx.com/api/errors/{code}",
"envelope": {
"error": {
"code": "The registry code. Stable; safe to branch on.",
"message": "A curated sentence. Human-facing; never branch on it.",
"requestId": "Correlates this response with the server log line."
}
},
"errors": [
{
"code": "not_found",
"status": 404,
"retryable": false,
"title": "No resource is reachable at that id.",
"remedy": "Confirm the id and that your credential reaches its workspace. Unknown and out-of-scope ids return the same 404."
},
{
"code": "rate_limited",
"status": 429,
"retryable": true,
"title": "The credential exceeded its rate class for this window.",
"remedy": "Wait `Retry-After` seconds. Budgets are per credential and per class, not per route."
}
]
},
"meta": {
"apiVersion": "1",
"count": 218
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"issues": [
{}
]
},
"ok": true,
"valid": true
}