SYNC_WINDOW_EXPIRED
The since you sent to GET /deletions is older than the 13 months deletions are kept, so the list could be incomplete; the API refuses rather than answer part of it.
Typical cause
A sync job that has not run for more than 13 months, or a since reset to an old date by hand.
Fix
Read every list again in full, then continue incremental sync from the next_since of that pass.
Where it comes from
This operation names it:
Related
{
"error": {
"code": "SYNC_WINDOW_EXPIRED",
"message": "…",
"request_id": "req_01JB4Z0K3Q7V8W9X0Y1Z2A3B4C",
"doc_url": "https://developers.tracken.ee/errors/SYNC_WINDOW_EXPIRED"
}
}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 deletions list …
# exits 7 and prints the code, the message, each field problem and the request idimport { isApiError } from "@tracken/sdk";
try {
await tracken.deletions.list(…);
} catch (error) {
if (!isApiError(error, "SYNC_WINDOW_EXPIRED")) throw error;
// Read every list again in full, then continue incremental sync from the next_since of that pass.
}