401 bad_signature | The signature is wrong or missing | Check the sha256= prefix in X-QC-Signature. Sign the exact body you send, with the same timestamp as X-QC-Timestamp. Check the secret has no space before or after it |
401 stale_timestamp | The request time is more than 5 minutes from ours | Sync your server clock. Send the time in seconds, not milliseconds |
401 replayed | The same signed request was sent twice | Make a new timestamp and signature for every request |
401 simple_key_disabled | Your chatbot sends Authorization: Bearer …, but simple keys are off | Switch on Allow simple key (no signature), or sign the request |
401 bad_key | The simple key does not match | Paste the secret again after Bearer and one space. After Rotate secret, the old one stops after 24 hours |
401 bad_signature though you use a simple key | The request also has an X-QC-Signature header, so the signature is checked instead | Remove the X-QC-Signature and X-QC-Timestamp headers |
403 disabled | The links are switched off, or the secrets were revoked | Switch on, or create a new secret and paste it into your chat platform |
403 customer_blocked | This customer cannot shop here: removed, waiting for your approval, or a staff account | Approve the customer, or help them another way. See the reason in the answer |
| 404 | Wrong address, or your website is not live | Copy the API address again from the card |
422 invalid_request with phone: e164 | The phone is empty or not a number | In Libromi, check Static Variables is on and the body has "{{STAT_PHONE}}" |
422 invalid_phone | A local number starting with 0, or a number your shop cannot use | Send the number with its country code, such as 971501234567 |
422 path_invalid | The landing path is not a path on your website | Use a path that starts with one /, such as /collections/fruits |
422 line_unavailable | No product in the checkout link can be bought | Check the product numbers and stock. The answer lists each product's problem |
422 nothing_to_reorder | The customer has no earlier order with products that can still be bought | Offer a Shop link instead |
429 rate_limited | Too many links in a minute | Wait the retry_after seconds. Make the link when the customer taps, not for everyone in advance |