API
Error codes
| Code | Status | Title |
|---|---|---|
ad_ | 409 | Only a broken-down ad can be rebuilt |
ad_ | 409 | No Meta ad account is connected |
ad_ | 403 | Ad Canvas is not turned on here |
ad_ | 409 | The rebuild or variant isn't finished |
ad_ | 409 | The video isn't rendered |
ad_ | 400 | The file is not an MP4 or WebM video |
agent_ | 502 | The app could not be connected |
already_ | 409 | You already belong to this org |
api_ | 403 | You can't make or revoke this API key |
bad_ | 400 | The tool arguments are invalid |
below_ | 409 | The total is under the smallest amount this checkout can charge |
bill_ | 409 | A Lucky Landing bill or another product you added isn't paid yet |
billing_ | 409 | Lucky Landing's staff look after this org's bills |
billing_ | 502 | The billing rail refused the request |
billing_ | 409 | This org still has billing to finish |
billing_ | 409 | This org is retired from Lucky Landing's bills |
body_ | 400 | A JSON request body is required |
card_ | 409 | Adding a product with the saved card isn't open yet |
card_ | 409 | The billing rail has saved no card through this setup yet |
card_ | 409 | Save a card for Lucky Landing's bills first |
card_ | 409 | The card terms changed |
cart_ | 422 | This cart can't be checked out here |
catalog_ | 409 | This catalog import cannot continue |
catalog_ | 409 | The catalog import could not complete |
checkout_ | 422 | Part of this design is hard to read or see |
checkout_ | 409 | This project already has a checkout hostname |
checkout_ | 400 | This hostname can't be a checkout hostname |
checkout_ | 421 | This hostname does not serve checkout yet |
checkout_ | 409 | Another project holds this hostname |
checkout_ | 400 | The offer page can't use this image as its hero image |
checkout_ | 400 | The checkout can't use this image as its logo |
checkout_ | 502 | Checkout service unavailable |
closed_ | 409 | An owner closed this organization |
code_ | 401 | That code is wrong or has expired |
coming_ | 403 | Not available to this organization yet |
connect_ | 409 | This connect link can no longer be opened |
connect_ | 409 | This connect link has no account to confirm |
connect_ | 403 | Only the person who requested this connect link can open it |
connection_ | 409 | This account is connected to another workspace |
cross_ | 403 | Cross-origin request refused |
email_ | 400 | The store can't use this email address |
email_ | 409 | The shopper's email is needed first |
entitlement_ | 409 | Staff granted this product |
erasure_ | 409 | This org's erasure is already requested |
event_ | 409 | This connection sends no checkout events |
fee_ | 409 | A later fee rate exists |
free_ | 409 | A free order is placed from the form, not a wallet |
generation_ | 409 | This payment generation cannot be changed |
google_ | 409 | This isn't the org's Google key |
google_ | 409 | Another Google tag of this kind is connected |
id_ | 409 | This ID was already used with different values |
identity_ | 503 | Sign-in is temporarily unavailable |
impersonation_ | 403 | Impersonated sessions cannot use Lucky Landing |
insufficient_ | 403 | The token lacks the required scope |
internal | 500 | Internal error |
invalid_ | 400 | The request body is invalid |
invalid_ | 400 | The checkout request is invalid |
invalid_ | 400 | A code is six digits |
invalid_ | 422 | Some design fields are invalid |
invalid_ | 400 | That is not an email address |
invalid_ | 400 | A field is invalid |
invalid_ | 400 | The offer draft is invalid |
invalid_ | 400 | Invalid page request |
invalid_ | 400 | A parameter is invalid |
invalid_ | 400 | The request could not be read |
invalid_ | 400 | A valid store is required |
invite_ | 404 | This invite cannot be used |
invite_ | 403 | Lucky Landing is invite-only for now |
last_ | 409 | An org always keeps one owner |
last_ | 409 | Staff always keep one person who manages staff |
location_ | 409 | Lucky Landing needs the billing address for sales tax |
login_ | 400 | This sign-in attempt has expired |
managed_ | 409 | This org still owes bills its staff settle |
merchant_ | 403 | This data is not available to these credentials |
meta_ | 422 | This token can't use that ad account |
meta_ | 409 | The organization hasn't accepted the terms Meta requires |
meta_ | 422 | Meta refused this system-user token |
method_ | 405 | Method not allowed |
method_ | 403 | Your organization requires another sign-in method |
name_ | 400 | Names can't include emoji |
no_ | 409 | This payment has no order to place |
not_ | 404 | Resource not found |
not_ | 501 | Not available yet |
not_ | 409 | This is not on sale yet |
not_ | 409 | No order placed by hand is recorded for this payment |
nothing_ | 409 | There is nothing to pay now |
offer_ | 422 | This offer is priced under the smallest charge the processor takes |
offer_ | 409 | This offer can't be republished as it is |
offer_ | 409 | The offer could not be published |
order_ | 409 | This payment isn't waiting for a person |
order_ | 409 | Lucky Landing did not send the order to the store |
order_ | 409 | The store order may already exist |
order_ | 409 | Lucky Landing can still place this payment's order |
order_ | 400 | The basket cannot be bought with these terms |
order_ | 409 | The store has not confirmed this payment's order |
org_ | 403 | This organization is closed |
org_ | 403 | This operation acts for an org |
outcome_ | 503 | The write may have finished |
outreach_ | 409 | The draft was already decided |
outreach_ | 409 | This store already has this flow |
outreach_ | 422 | Some setup fields are invalid |
outreach_ | 403 | Customer Connect is not turned on for this org |
outreach_ | 409 | The persona is in use |
outreach_ | 409 | Sending is not available |
parent_ | 409 | This payment's order waits on another payment's order |
partial_ | 409 | A partial refund would close this payment's Whop case |
payment_ | 409 | The payment changed while Lucky Landing was working on it |
payment_ | 409 | This payment has a Whop case |
payment_ | 409 | This payment can't be refunded |
payment_ | 503 | The payment state is not yet confirmed |
person_ | 403 | Only a person can do this |
precondition_ | 412 | The resource changed after you read it |
precondition_ | 428 | If-Match is required |
prerender_ | 403 | Not allowed while prerendering |
price_ | 409 | This price already exists |
processor_ | 429 | The payment processor is busy |
processor_ | 409 | This isn't an active processor connection |
processor_ | 409 | Payment connection needs verification |
processor_ | 503 | The payment processor couldn't be reached |
product_ | 409 | The last change to this product is not on the bills yet |
product_ | 409 | The org pays for this product |
project_ | 409 | The dashboard project changed |
quote_ | 410 | This price quote expired |
rate_ | 429 | Too many attempts |
refund_ | 409 | An earlier refund of this payment is not confirmed yet |
refund_ | 409 | A refund of this payment needs a person |
refund_ | 409 | The refund was not made |
refund_ | 400 | The refunded total doesn't fit the payment |
refunded_ | 409 | This payment was refunded or disputed after its order was recorded |
request_ | 413 | Request body too large |
role_ | 403 | Your role in the org does not allow this |
shopify_ | 409 | A Shopify development store is required |
sign_ | 401 | Sign-in failed |
sold_ | 409 | An item in this basket is sold out |
staff_ | 409 | More than one person signed in with this address |
staff_ | 403 | Staff scopes go only to a Lucky Landing address |
staff_ | 409 | No one has signed in with this address yet |
staff_ | 403 | Only Lucky Landing staff can do this |
staff_ | 403 | You can only give or take away staff scopes you hold |
store_ | 403 | This store is not available to these credentials |
store_ | 409 | That order is cancelled in the store |
store_ | 409 | That order is in another currency than the payment |
store_ | 409 | Lucky Landing wrote that order |
store_ | 409 | Another payment already holds that order |
store_ | 409 | The store returns no order with this ID |
store_ | 400 | That isn't a store order |
store_ | 409 | This store isn't taking orders here right now |
too_ | 401 | Too many wrong codes |
too_ | 429 | Too many payment attempts |
totp_ | 401 | Two-step verification is required |
transaction_ | 403 | These credentials may not run this transaction |
txn_ | 401 | A Txn-Token is required |
unauthorized | 401 | Authentication required |
unavailable | 503 | Temporarily unavailable |
unknown_ | 400 | That organization is not one of your choices |
unknown_ | 400 | Unknown sign-in provider |
unsupported_ | 415 | Unsupported media type |
unsupported_ | 400 | A landing page has no offer after No thanks |
waitlist_ | 404 | This link can't confirm a request |
whop_ | 409 | Whop needs your approval before Lucky Landing can refund |
workload_ | 403 | This workload may not call this service |
wrong_ | 409 | This sign-in is waiting for another step |
The Lucky Landing API answers every error with an RFC 9457 problem, sent as application/problem+json. Branch on code. Quote request_id when you contact support at admin@luckylanding.io.
type- The code's documentation page, https://luckylanding.io/errors/<code>.
title- The code's summary; the same for every occurrence.
status- The HTTP status.
detail- What went wrong this time, for a person or an agent.
code- The stable machine code, one of components.x-luckylanding-problems. Branch on it, not on title or detail.
request_id- The request-id header; include it when contacting support.
retryable- The same request can succeed later; wait Retry-After when it is set.
fix_hint- The next step that fixes this occurrence.
required_scope- The scopes the token could take, space-separated, on insufficient_scope: any one of them lets it in.
errors- One entry per invalid input.
detail- What is wrong with this input.
pointer- JSON Pointer (RFC 6901) to the invalid body member, e.g. #/overrides/daily_budget.
parameter- The invalid path, query or header parameter.