INVALID_QUERY_PARAMETER
A query parameter is not one this operation offers, or its value is not acceptable. context.parameter names it.
Typical cause
A parameter another operation offers (updated_since on a list that does not take it), a misspelt name, or a value outside its range (limit=500).
Fix
Use only the parameters the reference lists for the operation.
Where it comes from
Any operation can answer it (HTTP 400).
Related
{
"error": {
"code": "INVALID_QUERY_PARAMETER",
"message": "…",
"request_id": "req_01JB4Z0K3Q7V8W9X0Y1Z2A3B4C",
"doc_url": "https://developers.tracken.ee/errors/INVALID_QUERY_PARAMETER"
}
}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 9 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, "INVALID_QUERY_PARAMETER")) throw error;
// Use only the parameters the reference lists for the operation.
}