NOT_FOUND
No such path, or no such record in this organization. Records of other organizations are never visible, so they answer this too.
Typical cause
An id from another organization or environment (dev and production ids never match), a deleted record, or a typo in the path.
Fix
Check the path and the id, and that the token acts in the organization that holds it.
Where it comes from
Any operation can answer it (HTTP 404).
Related
{
"error": {
"code": "NOT_FOUND",
"message": "…",
"request_id": "req_01JB4Z0K3Q7V8W9X0Y1Z2A3B4C",
"doc_url": "https://developers.tracken.ee/errors/NOT_FOUND"
}
}code, never on message, which is developer-facing English and may change. Field problems are in details, each with a JSON Pointer; the figures for your own text are in context. Quote request_id when you contact support.tracken contacts list …
# exits 6 and prints the code, the message, each field problem and the request idimport { isApiError } from "@tracken/sdk";
try {
await tracken.contacts.list(…);
} catch (error) {
if (!isApiError(error, "NOT_FOUND")) throw error;
// Check the path and the id, and that the token acts in the organization that holds it.
}