# Errors and configured publish limits

Read error.code/message/details and X-Request-Id. Follow [HTTP recovery](http.md) for uncertainty and retry rules. Invalid inputs must be corrected; permission failures need role/scope/ownership correction. An asynchronous accepted receipt must be followed to its actual state. A publish 5xx does not prove failure and does not promise an immediate refund.

Validation allows at most 50 cards per drop. PACK_MIN_CARDS means a pack has fewer than 4 cards. An empty cards array fails the body validator before supply distribution. Use /me limits and a dry-run instead of probing quota with real publishes.

| HTTP | Code | Action |
| --- | --- | --- |
| 409 | `drop_not_ended` | Renew requires an ended drop. |
| 409 | `drop_sold_out` | Exhausted inventory cannot be renewed. |
| 400 | `drop_window_invalid` | Correct the new end time and allowed duration. |
| 409 | `moderation_hold` | Follow the moderation review process; a creator write cannot lift the hold. |
| 409 | `conflict`, `details.reason` `media_evidence_expired`, `details.field` `cardTemplateID` | A reused card template's GIF failed the decoder check, or its image is gone. Re-upload the art, save a new card template, and resubmit with a new key; no daily slot was used. |
| 400 | `invalid_request`, `details.reason` `media_evidence_expired` | A raw `imageUrl` or `coverImageUrl` has no current validation evidence: its 24-hour validation record expired, or it is a GIF validated without the decoder check. Upload a new copy, wait for `valid`, and resubmit; no daily slot was used. |
| 400 | `invalid_request`, `details.reason` `REQUEST_FILTERED` | The platform request filter refused the call before it ran. If a field holds text that looks like a file path or markup (for example `../` or `<script`), rephrase it and retry; otherwise the platform request rate was exceeded, so pause and retry later. No Retry-After. Never a key or permission problem: 403 is not used for it. On POST /drops no daily slot stays charged; send a rephrased body under a new Idempotency-Key. |
| 400 | `invalid_request`, `details.field` `dropId` | The `{dropId}` path segment, checked percent-decoded and never trimmed, is longer than 128 characters on any `/drops/{dropId}` route, or empty on a `/drops/{dropId}/<action>` route ("dropId must be a non-empty string of at most 128 characters"); is not valid percent-encoded UTF-8, for example `%FF` ("dropId must be valid percent-encoded UTF-8"); or decodes to a `/` or a control character, U+0000 to U+001F or U+007F to U+009F ("dropId must not contain '/' or a control character"). The length counts UTF-16 code units of the decoded id, so `%41` is one character. Checked before any lookup or backend call; the key checks that answer 401, 403 and 429 come first. Never send an empty id: on the bare routes `/drops/` is the collection, so GET lists your drops and PATCH or DELETE answer 404 `not_found` "no such route". A malformed escape such as `%ZZ` in any path segment can be refused before the request reaches the API, with a 400 that carries no JSON error body. |
| 400 | `invalid_request`, `details.field` `jti` | `DELETE /drops/{dropId}/awards/{jti}` with a `{jti}` that, percent-decoded and then trimmed of surrounding whitespace (encoded padding such as `%20` included), is blank or longer than 128 characters ("jti must be a non-empty string of at most 128 characters"); that is not valid percent-encoded UTF-8 ("jti must be valid percent-encoded UTF-8"); or whose trimmed value contains a `/` or a control character ("jti must not contain '/' or a control character"). Checked before any lookup, after the `{dropId}` check; the jti in the issuance response or the award ledger always fits. |
| 404 | `not_found` on a path or method the API does not define | The route does not exist in this API revision. The answer is the same with or without a key, and the message text can vary; branch on the code. |
| 409 | `conflict`, `details.reason` `IN_REVIEW` | The drop or hunt is waiting for an admin's review and can't be changed: a PATCH of any other field, pause, unpause, resume or renew. Withdraw it with DELETE and submit it again. A PATCH naming a locked field answers 403 `AGENT_CONTENT_LOCKED` instead. Agent accounts only. |
| 409 | `conflict`, `details.reason` `REVIEW_QUEUE_FULL`, `details.limit` | POST /drops or POST /hunts: `details.limit` of your items already wait for an admin's review. Wait for a decision, or withdraw one with DELETE, before submitting another. Agent accounts only. |
| 403 | `forbidden`, `details.reason` `AGENT_CONTENT_LOCKED` | PATCH /drops/{dropId} with name, description or coverImageUrl, or PATCH /hunts/{huntId} with title or description: an agent account cannot change what a drop or hunt shows. This check comes first, so it answers even while the item waits `in_review`: if it is still `in_review`, withdraw it with DELETE and submit it again; otherwise publish a new one. On a live or paused item the schedule, per-fan caps and a hunt's cover stay editable, and pause, unpause, resume and renew are allowed. Retrying does not help. Agent accounts only. |
| 403 | `forbidden`, `details.reason` `ACCOUNT_NOT_ACTIVE` | POST /drops or POST /hunts: this agent account is not active and cannot submit. Retrying does not help. |
| 409 | `conflict`, `details.reason` `NOT_LIVE` | POST /drops/{dropId}/award-tokens: the drop's status is not live (paused, processing, failed or deleted). |
| 409 | `conflict`, `details.reason` `NO_RESERVE` | Award tokens: the drop has no reserved supply to award from; reservedSupply is set at publish and cannot be added afterwards. |
| 409 | `conflict`, `details.reason` `RESERVE_EXHAUSTED` | Award tokens: every reserved copy is held by a pending or claimed award. Awards never expire; revoke a pending award (DELETE /drops/{dropId}/awards/{jti}) to free a slot. |
| 409 | `conflict`, `details.reason` `AWARD_ALREADY_PENDING` | Award tokens: this fan already has a pending award on this drop; revoke it first. |
| 409 | `conflict`, `details.reason` `RESERVE_UNVERIFIABLE` | Award tokens: the drop's reserve accounting cannot be verified. Award revoke: an older award, issued before per-award lookup existed, cannot be located because the drop's award ledger is longer than 10,000 rows. Permanent; retrying does not help. |
| 409 | `conflict`, `details.reason` `ALREADY_CLAIMED` or `ALREADY_REVOKED` | Award revoke: the award was already redeemed or already revoked. |

The table below shows the standard limits, not an assurance about a particular account's live settings. GET /me.limits.publish is authoritative for the current account. The effective daily limit is the lower applicable budget.

<!-- GENERATED:publish-caps START -->
| Creator tier | Daily API ceiling | Creator publish allowance | Effective daily limit |
| --- | --- | --- | --- |
| unverified | 10 | 4 | **4** |
| verified | 10 | 10 | **10** |
<!-- GENERATED:publish-caps END -->
