SynqDocs
Errors

Error code link_code_invalid (HTTP 422)

What Synq's `link_code_invalid` error code means, when the API answers HTTP 422 Unprocessable Content with it, and how to fix it.

A link code the tenant's server redeemed that Synq didn't make for this brand and provider, or one that expired or was used: each works once, for 10 minutes, for the provider it was made for.

What to do

Ask the person to start linking again in your app, which makes a new code, and redeem that one with the provider it was made for.

FieldValue
codelink_code_invalid
status422 Unprocessable Content
titleLink code invalid

Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is link_code_invalid. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/link_code_invalid",
  "title": "Link code invalid",
  "status": 422,
  "code": "link_code_invalid"
}

See every error code. Still stuck? Support says where to write, what to send and where Synq's status page is.

On this page