Format
Section titled “Format”Every error from the customer API has the same JSON body:
{"error":{"code":"RATE_LIMITED","message":"Too many catalog requests. Try again later."}}Act on code. It is stable and listed below. message is meant for people and may change without notice, so do not parse it.
Customer API
Section titled “Customer API”This table comes straight from the OpenAPI specification:
| HTTP | Code | Meaning |
|---|---|---|
| 400 | INVALID_FORMAT |
Unknown format |
| 400 | INVALID_LOCALE |
Unknown locale |
| 400 | AMBIGUOUS_KEY |
Two different API keys |
| 401 | UNAUTHORIZED |
The API key is missing, unknown, paused, or not a catalog key. |
| 404 | CATALOG_NOT_READY |
Your catalog has not been generated yet. Try again later. |
| 429 | RATE_LIMITED |
Too many requests from your IP address or with your API key. |
| 502 | UPSTREAM_ERROR |
A Vink system behind the API did not answer. Try again later. |
What to do
Section titled “What to do”| Code | What to do |
|---|---|
INVALID_FORMAT, INVALID_LOCALE |
Fix the request. Retrying will not help. |
AMBIGUOUS_KEY |
Send one key, in one header. |
UNAUTHORIZED |
Check that the key is complete, still active in MyVink and meant for this route. Retrying will not help. |
CATALOG_NOT_READY |
Your catalog does not exist yet. Try again in an hour, and contact Vink if it stays this way. |
RATE_LIMITED |
Wait the number of seconds in Retry-After, then try again. See Rate limits. |
UPSTREAM_ERROR |
Try again later with backoff. |
MCP server
Section titled “MCP server”The MCP server uses the same format for errors on the HTTP request itself:
| Status | Code | When |
|---|---|---|
| 400 | AMBIGUOUS_KEY |
Authorization and X-Api-Key carry different keys |
| 401 | UNAUTHORIZED |
the key is unknown, paused or not an MCP key |
| 429 | RATE_LIMITED |
too many requests from your IP address, see Retry-After |
| 503 | UPSTREAM_UNAVAILABLE |
Vink cannot check keys right now; try again later |
An error inside a tool call does not fail the HTTP request. The tool returns an error result with one of these codes, which your assistant can read:
| Code | Meaning |
|---|---|
NOT_FOUND |
The article or page does not exist, or is not available to your company |
INVALID_ARGUMENT |
An argument is missing or out of range, for example more than 50 articles in one call |
RATE_LIMITED |
Too many tool calls with your key; the text says how long to wait |
UPSTREAM_UNAVAILABLE |
A Vink system did not answer; try again later |
INTERNAL |
Something went wrong at Vink |