API Error Codes

The Vivoldi API reports errors with code in the response body. The HTTP status varies by API and error type (200, 400, 401, 409, 429 and more), so always decide success or failure by code. code 0 means success.

Response format and rules

JSON
{
    "code": 654,
    "message": "The value “url” does not exist.",
    "result": null,
    "extras": null
}
  • Every response has code and message. Error responses may omit result and extras, so read only code and message. extras is currently always null.
  • message follows Accept-Language and may contain <br/>. Show it to users; branch your code on code.
  • Errors you can retry as-is: code 429 and 1008 (rate limits), 503 (temporary), and 409 caused by a request still in progress or a concurrent change. A 409 caused by reusing an Idempotency-Key with different content needs a new key. For everything else, fix the request first.
  • Some errors come only as code 400 with a message, without a specific number (last group of the table below).
  • In rare cases an unhandled server error redirects to the /error page (HTTP 302) instead of returning JSON. Retry shortly and contact us if it repeats.

HTTP statuses

HTTP Description
200 Success. Some APIs also return errors as 200 with code (coupon and stamp results, link list, etc.).
400 Request error. Check code and message for the cause. Temporary failures (code 503) also use HTTP 400.
401 API key or IP allowlist error, or not available because of the plan or creation limit (650, 651, 693, 667, 600, etc.).
403 User authentication API: account limited to two-step verification or passkeys (228).
409 Idempotency conflict or a concurrent change by another request (code 409). See the idempotency guide.
423 Email not yet verified on a Free plan account (669).
429 Request rate limit or the user authentication API’s sign-in attempt limit (code 429), or concurrent statistics call limit (code 1008) exceeded.

Error code reference

The HTTP column shows the status a code usually comes with. The same code can differ by API (noted in the description), so decide by code. Placeholders such as {0} in message are filled with the parameter name or limit.

code HTTP Cause and fix
Authentication and plans
650 401 The Authorization header is missing or not in the APIKey YOUR_API_KEY format.
651 401 The API key does not exist, is inactive or was reissued. Check the key in the dashboard.
669 423 Email verification is not complete for this Free plan account. Finish email verification on the website.
693 401 IP allowlisting is on and the calling IP is not on the list. Add the IP in the dashboard.
667 401 This API is available from the Personal plan (click statistics, coupons, stamp cards, users and bulk link creation — bulk creation returns HTTP 400).
668 200 This API is available from the Premium plan (link list; for link validation, the plan of the organization that owns the link applies).
673 200 This legacy statistics API requires the Business plan. Use the latest versions (clicks by hour v3, clicks by date v2).
672 400 Free and Personal plans can only use the default domains (vvd.bz, vvd.im). Custom domains start with Premium.
1006 401 reuseYn=Y is available from the Premium plan.
1012 400 A center logo on QR codes is available from the Personal plan.
1002 400 webhookEnableYn=Y was sent, but the organization’s Webhook cannot be used (links, coupons, on plans that include Webhooks). The message tells you why: the organization’s Webhook is off or has no callback URL (dashboard: Developer > Global Webhook), or it was paused after repeated delivery failures (fix the cause, then turn it back on). If your plan does not include Webhooks, this is not an error: the value is ignored and saved as N.
1114 · 1115 200 The plan does not support Webhooks (1114) or the Webhook count limit is reached (1115). Coupons and stamp cards return these codes; links and link groups return body code 400 with the same message. In the link and coupon create/update APIs, if the plan does not include Webhooks, the value is ignored and saved as N instead of returning 1114.
Request values
655 400 A required value is missing. Check the parameter name in message (some endpoints such as link list, link group create and clicks by hour v3 return HTTP 200).
654 400 A needed value is missing or not allowed. Check the parameter name in message (a missing domain on link update v2 and delete returns HTTP 401; link validation returns HTTP 200).
653 400 A value that must be numeric is not a number.
665 400 The value must be an integer (int), e.g. redirectType, grpIdx, processStoreIdx, branch and store IDX.
656 400 · 200 Wrong date or datetime format (yyyy-MM-dd, yyyy-MM-dd HH:mm:ss). Format errors in regStartYmdt and regEndYmdt of the link list return HTTP 200.
666 400 · 200 The value must be Y or N. Invalid webhookEnableYn or qrBypassYn on link update returns HTTP 400; invalid Y/N filters on the link list (notfSubscYn, etc.) return HTTP 200.
1005 400 Invalid email format.
1013 400 Two parameters with the same meaning were sent together. Use only the name given in message.
1014 400 A JSON object or array was sent for a string field.
1015 400 Wi-Fi QR codes with WPA or WEP security need wifiPassword.
1017 400 A disallowed character was sent in pwd (Personal and higher plans) or nonmemberSticsPwd (all plans) when creating or updating a link group via the API. Use only A–Z, a–z, digits, and symbols (no spaces).
1230 400 A value exceeds its maximum length (field and limit in message). This applies to customer information on coupons and stamp cards, link ttl, description and metaImg, link groups (pwd and nonmemberSticsPwd on create/update, memo, expireUrl and webhookCallbackUrl on update only), QR code title, content, colors and patterns, and eml in the user update API.
1227 400 This parameter is not allowed on this endpoint (mixing v2 issue and processing location parameters, onsitePwd, etc.). Use the name given in message.
Limits and periods
600 401 The monthly link creation limit (short links, coupons and stamp cards combined) is reached. Upgrade or wait for the next cycle (bulk creation returns HTTP 400).
606 401 · 400 The monthly limit for custom link IDs on the default domains is reached. The pre-check returns HTTP 401 for single creation and HTTP 400 for bulk creation; if the final check during saving catches it, HTTP 400. Leave the link ID empty to get an automatic ID.
633 401 The Free plan daily creation limit (20) is reached.
689 400 Too many links in one bulk request (Personal 200, Premium 500, Business and above 1,000).
671 400 · 200 The query period exceeds the maximum, or the start is after the end (link list 31 days; click statistics vary by plan — see each API reference). A reversed monthly range returns HTTP 400 + 671; hourly v3, daily v2, by-group v2 and the link list return HTTP 200 + 671.
1009 400 The date is outside the history period allowed by your plan.
692 400 delYmdt must be within 2 years from now.
696 400 In clicks by group, Personal and Premium can specify up to 5 groups.
695 400 Send both linkId and domain, or omit both.
429 429 The request rate limit (per minute or per hour) is exceeded. Wait until X-RateLimit-Reset and retry. The user authentication API also returns this code when its sign-in attempt limit (per email and IP) is exceeded.
1008 429 The concurrent call limit of statistics APIs is exceeded. Retry after the previous request finishes (Retry-After: 1).
Not found and state
676 · 677 400 The group IDX (676) or coupon template IDX (677) does not exist in your organization.
688 400 The domain is not registered in your organization or cannot be used.
691 · 1004 400 The link does not exist (delete 691; update and QR code update 1004). Check linkId and domain.
617 400 The account of this API key cannot delete the link (link delete — for example, a link created by another member). The deletion is not accepted.
1010 400 The link is not a QR code link (QR code update API). Use the link update API for regular links. A link that does not exist returns 1004.
1016 400 On the link update API (v2 and the legacy v1 /edit), url was sent for a link that is not a URL link (QR code, form, button or card). Change QR code content with the QR code update API.
1003 400 The coupon to update does not exist.
1111 · 1112 400 The stamp card IDX does not exist in your organization (1111), or the stamp does not exist or was deleted (1112).
1104 · 1113 400 The reward of this stamp card was already used (1104), or the card is not full yet (1113).
683 · 684 · 687 · 694 200 Coupon validation and redemption: before (683) or after (684) the valid period, userId mismatch (687), on-site coupon check failed, redemption API only (694 — in v2, redemption called without the validation API’s onsiteToken; in v1, a wrong on-site password).
Retries and conflicts
409 409 The same Idempotency-Key was used for different content, a request with the key is still processing, or a concurrent update conflicted. Use a new key for different content; otherwise retry the same request shortly.
1213 · 1216 400 The Idempotency-Key header and body requestId differ (1213), or the key format (8–64 letters, digits and ._:-) is wrong (1216).
1228 400 The on-site exchange token (onsiteToken) cannot be used (expired, already used, etc.). Call the validate API again for a new token.
503 400 The request could not be processed temporarily (HTTP 400). The request is valid; retry it unchanged shortly.
Branches and stores (coupons, stamp cards)
1200 · 1202 · 1204 · 1205 400 Branches are not available (1200), the branch (1202) or store (1204) does not exist, or the store does not belong to the branch (1205).
1201 400 The branch or store is outside your permission scope.
1221 ~ 1226 400 A value differs from the coupon group or stamp card branch policy (1221), a locked field (1222, 1223), an inactive branch or store (1224, 1225), or an invalid useScope (1226).
General and user API
400 200 · 400 An error reported only through message without a specific number (link URL format, link ID already in use, the 30-group limit of the Free plan, unsupported method or JSON format, etc.). The HTTP status is 200 or 400 depending on the API and cause (save-stage errors for links and link groups return 200; bulk creation, unsupported methods, JSON format errors and user API token errors return 400).
401 200 A permission problem (branch outside your scope, etc.).
204 · 228 · 403 401 · 403 · 400 User authentication API: wrong password (204, HTTP 401), account limited to two-step verification or passkeys (228, HTTP 403), eml not in the organization (403, HTTP 400, message not_registered).
201 · 110 400 User update API: email already registered (201), password does not meet the rules (110).

429 response headers and retries

When you exceed the request rate limit, you get HTTP 429 with code 429 and the headers below. Limits per plan are in the rate limits guide.

Header Description
X-RateLimit-Reset When you can call again (Unix time, seconds). Use this value to decide how long to wait.
Retry-After How long to wait, in seconds.
X-RateLimit-Type Unit of Retry-After. Always second.
X-RateLimit-Remaining Remaining calls (usually 0 once the limit is exceeded).
HTTP 429
HTTP/1.1 429 Too Many Requests
Retry-After: 12
X-RateLimit-Type: second
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1767225612
Content-Type: application/json;charset=UTF-8

{"code":429,"message":"You have exceeded the per-minute call limit (30 times). Please try again in 12 seconds.","result":null,"extras":null}

Exceeding the concurrent call limit of statistics APIs returns HTTP 429 with code 1008 and only the Retry-After: 1 (seconds) and X-RateLimit-Type: second headers. Concurrent calls are counted per statistics API, so retry after the earlier request to that API finishes. The Free plan cannot use statistics APIs and gets 667 (HTTP 401) instead of 1008. Successful responses do not include X-RateLimit-* headers.