# Troubleshooting

> Start from what you see: an error code, a status, or nothing happening at all. Each entry gives the likely causes, how to confirm, and the fix, with a link to the guide that explains it.

Source: https://docs.releaseapi.com/troubleshooting.html

**At a glance**

- Start with [First checks](https://docs.releaseapi.com/troubleshooting.html#first-checks): the HTTP status usually narrows the problem to one area.
- Every error code below has its own anchor, and the [code index](https://docs.releaseapi.com/troubleshooting.html#code-index) lists them A–Z.
- If it only happens in sandbox, read [Works differently in sandbox](https://docs.releaseapi.com/troubleshooting.html#sandbox) first. Sandbox makes no real deliveries and has no reporting data, and RecordJet reviews test releases when you ask.
- Validation findings and rejection reasons aren’t listed here. [Reference data › Validation codes](https://docs.releaseapi.com/reference-data.html#validation-codes) explains each of them.

> **Searching for a code?** Press `/` and type it, or use your browser’s find on this page.

## First checks

Read the error code before anything else. It’s in `message` for most errors, in `error` for schema problems, and in `exception` for paging errors. The [helpers in API basics](https://docs.releaseapi.com/api-basics.html#errors) read all three. Then match the status:

- **200, but not what you expected** · The call worked. A filter you sent may have been ignored, or the list is in a different order than you assumed.

  **Check first:** Filters that can’t be parsed are dropped silently, and the default order differs per endpoint. See [Pagination](https://docs.releaseapi.com/api-basics.html#pagination).

- **400** · The request breaks a rule, such as a schema problem, a business rule, a paging limit or a wrong `tenantId`.

  **Check first:** Read the code (in `message`, then `error`, then `exception`) and find it on this page. Retrying the same body won’t help.

- **401** · The key is missing, unknown, disabled or expired, it belongs to the other environment, or its scope can’t use this endpoint.

  **Check first:** Call `GET /v1/me/token` against the same base URL. See [Keys and access](https://docs.releaseapi.com/troubleshooting.html#keys).

- **403** · The key is valid, but its role lacks the permission.

  **Check first:** Use a key with a stronger role. See [Roles](https://docs.releaseapi.com/api-basics.html#roles).

- **404** · The object doesn’t exist, isn’t visible to your key, or isn’t ready yet (some endpoints answer 404 until processing is done).

  **Check first:** Check the id, the tenant and the environment. A tenant key never sees another tenant’s objects.

- **409** · A conflict with the object’s current state, such as a draft in review or a file still in use.

  **Check first:** Read the object, wait or change its state, then try again.

- **410** · A preview link has expired or used up its requests.

  **Check first:** See [Preview links](https://docs.releaseapi.com/troubleshooting.html#preview-links) below.

- **413 / 415** · The body is over about 2 MB, or the `Content-Type: application/json` header is missing.

  **Check first:** Split the request, and send JSON with the right header.

- **429** · You sent too many requests, or a store’s API is throttling ReleaseAPI.

  **Check first:** Back off exponentially and retry. See [Rate limits](https://docs.releaseapi.com/api-basics.html#rate-limits).

- **500 / 502 / 503** · Something failed unexpectedly, or a dependency such as Spotify or the analytics service is briefly unavailable.

  **Check first:** Retry with backoff. If a 500 repeats for the same request, send the request and the time to your RecordJet contact.

Two habits save most debugging time: call `GET /v1/me/token` to see exactly which client, tenant and role your key has, and keep sandbox and production keys, base URLs and stored journal cursors strictly apart.

## Keys and access

Most 401s come from a key used against the wrong environment or against a client-only endpoint.

- **You see:** `UNAUTHORIZED` (401) on every call

  **Why:** The header is missing or isn’t a UUID, the key was deleted, or it’s a sandbox key sent to production (or the other way round).

  **Fix:** Call `GET /v1/me/token` with the same base URL and header. If that fails too, the key itself is the problem. See [When a key is refused](https://docs.releaseapi.com/api-basics.html#key-errors).

- **You see:** 401 on one endpoint while others work

  **Why:** The endpoint exists only for client keys (resolving GTINs, for example).

  **Fix:** Check the [client-only list](https://docs.releaseapi.com/api-basics.html#scope-only-endpoints). As a tenant under RecordJet, ask your RecordJet contact for the client-side action.

- **You see:** `API_TOKEN_DISABLED`
  `API_TOKEN_EXPIRED` (401)

  **Why:** Someone disabled the key, or its `expiresAt` has passed.

  **Fix:** Re-enable it in the dashboard or rotate to a new key. See [Rotate a key](https://docs.releaseapi.com/api-basics.html#rotate).

- **You see:** `PERMISSION_DENIED` (403)

  **Why:** The key’s role lacks the permission, for example a `READER` key creating an export or changing a membership. The permission is checked before the scope, so a key with too weak a role gets 403 even on an endpoint it couldn’t use anyway.

  **Fix:** Use a `MEMBER` or `ADMIN` key for writes. See [Roles](https://docs.releaseapi.com/api-basics.html#roles).

- **You see:** `TENANT_ID_MUST_BE_EMPTY_OR_SAME_AS_AUTH_SCOPE`
  `TENANT_ID_MUST_BE_EMPTY_OR_AS_AUTH_SCOPE` (400)

  **Why:** A tenant key sent another tenant’s id in `tenantId`.

  **Fix:** Leave `tenantId` out with a tenant key. See [The tenantId rules](https://docs.releaseapi.com/api-basics.html#tenant-id-rules).

- **You see:** `TENANT_ID_NEEDED_FOR_CLIENT_REQUEST`
  `TENANT_ID_NEEDED_FOR_CLIENT_SCOPE`
  `SAME_TENANT_ID_NEEDED_ON_ALL_REQUESTS`
  `CLIENT_REQUEST_NEEDS_TENANT_ID_IN_BODY` (400)

  **Why:** A client key wrote something tenant-owned without naming the tenant, or named different tenants on release and tracks. All four mean the same thing.

  **Fix:** Add `tenantId` (on a full draft: `release.tenantId`, and the same on every track). See [The tenantId rules](https://docs.releaseapi.com/api-basics.html#tenant-id-rules).

- **You see:** 404 for an object you can see in the dashboard

  **Why:** It belongs to another tenant, or you’re looking at the other environment.

  **Fix:** Compare the object’s `tenantId` with `GET /v1/me/token`, and check the base URL.

## Requests and errors

When something fails, read the code first. It isn’t in the same field on every error.

- **You see:** You can’t find the error code

  **Why:** The code is in `message` for most errors, in `error` for schema problems, and in `exception` for paging errors. HTTP-layer errors carry no code. A `415` returns a plain sentence, an unknown path returns an empty `error`, a `413` returns an HTML page, and a `404` for a missing object is `{"status": "not found"}`.

  **Fix:** Read `message`, then `error`, then `exception`, then fall back to the status. The [helpers](https://docs.releaseapi.com/api-basics.html#errors) do exactly that in Node.js, Python and Go.

- **You see:** `DECODING_FAILED`
  `PARSING_FAILED` (400)

  **Why:** The body isn’t valid JSON, misses a required field, has a wrong type, or uses an unknown enum value. Enum values are `UPPER_SNAKE_CASE`, so `Artist` instead of `ARTIST` fails here.

  **Fix:** `details` says where decoding stopped, for example `DownField(release), DownField(details), DownField(title)`. Check the value against [Reference data](https://docs.releaseapi.com/reference-data.html).

- **You see:** `INVALID_LIMIT`
  `INVALID_OFFSET`
  `INVALID_IDS_LIST_LENGTH` (400)

  **Why:** You sent a `limit` above 100, a negative `offset`, or more than 100 entries in `ids=`.

  **Fix:** Page with `limit` ≤ 100 and follow `hasMore`. See [Pagination](https://docs.releaseapi.com/api-basics.html#pagination).

- **You see:** A filter seems to do nothing, or a list returns too much

  **Why:** Filters that can’t be parsed, such as a misspelled enum value (`?status=SUCESS`) or a malformed id or date, are ignored rather than rejected. With a client key, a broken `?tenantId=` returns every tenant’s objects.

  **Fix:** Validate parameters before you send them. See the warning under [Pagination](https://docs.releaseapi.com/api-basics.html#pagination).

- **You see:** A list comes back in an unexpected order

  **Why:** The default order differs by endpoint: most lists are newest first, the catalog sorts by release date, and a few are oldest first.

  **Fix:** Always send `sortBy` and `sortOrder` for full reads. See [Default order](https://docs.releaseapi.com/api-basics.html#default-order).

- **You see:** `400` with `"message": "key not found: …"`

  **Why:** The list can’t sort by the field in `sortBy`.

  **Fix:** Use a camelCase field of the returned object, such as `createdAt`. See [Pagination](https://docs.releaseapi.com/api-basics.html#pagination).

- **You see:** 413 or 415

  **Why:** The body is over about 2 MB, or `Content-Type` isn’t `application/json`.

  **Fix:** Split very large drafts into [partial writes](https://docs.releaseapi.com/drafts.html#partial-writes), and send files through the [upload endpoints](https://docs.releaseapi.com/files.html).

- **You see:** 429

  **Why:** You sent too many requests, or Spotify is throttling ReleaseAPI and you get `SPOTIFY_RATE_LIMITED`.

  **Fix:** Back off exponentially and retry. See [Rate limits](https://docs.releaseapi.com/api-basics.html#rate-limits).

- **You see:** 502 / 503 with `SPOTIFY_UNAVAILABLE`

  **Why:** Spotify’s API is down. Artist lookups fail until it’s back.

  **Fix:** Retry later. A single artist lookup can even answer 404 for a real artist during an outage. See [Read one artist](https://docs.releaseapi.com/identifiers.html#spotify-get).

## Uploads

A file is usable once its status is `SUCCESS`. Everything before that is a step you can check.

- **You see:** The file stays `PENDING`

  **Why:** The bytes never reached storage, the signed URL expired (it’s valid for 60 minutes), or `…/upload/put/finish` was never called.

  **Fix:** PUT the bytes again (start a new upload if the URL expired), then call finish. Until the bytes are in storage, finish answers 404. See [Upload a file](https://docs.releaseapi.com/files.html#upload-a-file).

- **You see:** The file ends `INVALID`

  **Why:** It breaks a requirement. `failureReasons` lists every problem, such as `NO_SQUARE` or `INVALID_SAMPLE_RATE`.

  **Fix:** Show the reasons, fix the file and upload it as a new file. Every reason is on [File specifications](https://docs.releaseapi.com/files.html#specifications).

- **You see:** The file ends `ERROR`

  **Why:** Processing failed on ReleaseAPI’s side (`failureType: PIPELINE_ERROR`). The file may be fine.

  **Fix:** Upload it again. If it keeps failing, send the file id to your RecordJet contact.

- **You see:** The PUT to the signed URL fails from a browser

  **Why:** The API key or a multipart form body was sent to storage, or the signed URL was used after 60 minutes.

  **Fix:** Send the raw file as the PUT body, without your API key. Any `Content-Type` works. See [Uploading from the browser](https://docs.releaseapi.com/files.html#upload-a-file).

- **You see:** A 2 GB master upload keeps timing out

  **Why:** Stereo masters can’t use multipart upload. They are uploaded in a single PUT to a URL that is valid for 60 minutes.

  **Fix:** Upload from a server with a fast connection, or restart with a new `…/upload/put/start`. Multipart exists only for Dolby masters and videos. See [Large files](https://docs.releaseapi.com/files.html#large-files).

- **You see:** `COULD_NOT_FINISH_MULTIPART`

  **Why:** A part is missing, or the ETags aren’t in part order.

  **Fix:** Send every part’s ETag, in order, exactly as storage returned it. See [Finish a multipart upload](https://docs.releaseapi.com/files.html#multipart-finish).

- **You see:** `BLOCKED_URL_HOST`
  `URL_HOST_UNRESOLVABLE`
  `INVALID_URL` on an upload from URL

  **Why:** The URL points to a private, internal or unresolvable host, or isn’t http(s). The same checks apply to webhook URLs.

  **Fix:** Use a public http(s) URL. See [Upload from a URL](https://docs.releaseapi.com/files.html#upload-from-url).

- **You see:** `COVER_FILE_STILL_IN_USE` (409) on delete

  **Why:** A draft or catalog release still points at the file. The same check exists for every kind except attachments.

  **Fix:** Point the draft at the new file first, then delete the old one. See [Replace or delete a file](https://docs.releaseapi.com/files.html#replace-and-delete).

- **You see:** The lyrics call answers 404

  **Why:** The transcription only runs when the release is submitted, only for tracks under 10 minutes, and not at all with `expensiveChecksSuppress`.

  **Fix:** Wait until `analysis.ai.status` on the master is `SUCCESS`. See [Lyrics](https://docs.releaseapi.com/files.html#lyrics).

## Drafts and validation

Writes only check that a draft can be stored. Store rules run when you validate or submit.

- **You see:** `RELEASE_HAS_VALIDATION_ERRORS` (400) on submit

  **Why:** The draft has at least one `CRITICAL` finding, or an `ERROR` finding without soft validation.

  **Fix:** Call `GET …/drafts/releases/{id}/validation` and fix every blocking finding. [Reference data › Validation codes](https://docs.releaseapi.com/reference-data.html#validation-codes) explains each code.

- **You see:** `RELEASE_LOCKED_IN_REVIEW` (409) on a write

  **Why:** The draft is in review and read-only.

  **Fix:** Withdraw it with `{"status": "DRAFT"}`, edit it, and submit it again. See [Withdraw a submission](https://docs.releaseapi.com/review.html#withdraw).

- **You see:** A track or a section is gone after a write

  **Why:** Every PUT replaces the whole draft. A track or section missing from the body is deleted.

  **Fix:** Always write the complete release. See [How writes behave](https://docs.releaseapi.com/drafts.html#write-semantics).

- **You see:** `PATCH_FULL_DRAFT_REQUIRES_TRACK_ID_IN_CHANGE_REQUEST` (400)

  **Why:** A track (or the booklet: `PATCH_FULL_DRAFT_REQUIRES_BOOKLET_ID_IN_CHANGE_REQUEST`) has no `id` on the full-release write.

  **Fix:** Generate a UUID per track once and keep it.

- **You see:** `RELEASE_NOT_FOUND` (400) on a draft write

  **Why:** A track’s `details.releaseId` isn’t the id in the URL.

  **Fix:** Use the draft id in both places.

- **You see:** `COVER_NOT_FOUND`
  `MASTER_NOT_FOUND`
  `COVER_BELONGS_TO_OTHER_TENANT`
  `MASTER_BELONGS_TO_OTHER_TENANT`

  **Why:** The file id doesn’t exist, or the file was uploaded under another tenant.

  **Fix:** Upload the file with the same tenant (key) that writes the draft. See [Write errors](https://docs.releaseapi.com/drafts.html#write-errors).

- **You see:** `WALLET_ID_NOT_FOUND`
  `SHARE_SUM_INVALID`

  **Why:** A share rule points at a wallet that doesn’t exist in the release’s tenant, or its shares don’t add up to 1,000,000.

  **Fix:** Create the wallet first, and make the shares sum to exactly 1,000,000. See [Share rule errors](https://docs.releaseapi.com/ledger.html#errors).

- **You see:** `TRACK_MASTER_STATUS_NOT_SUCCESS`
  `RELEASE_COVER_STATUS_NOT_SUCCESS`

  **Why:** A referenced file is still processing, or failed.

  **Fix:** Wait for `SUCCESS`, or upload a corrected file. See [File statuses](https://docs.releaseapi.com/files.html#statuses).

- **You see:** `RELEASE_IDENTIFIERS_GTIN_INVALID`

  **Why:** The GTIN isn’t 13 digits long. Usually it’s a 12-digit UPC.

  **Fix:** Add a leading `0` to a 12-digit UPC, which keeps the same check digit. Or leave the GTIN empty to have one assigned.

- **You see:** `RELEASE_IDENTIFIERS_GTIN_CHECKSUM_FAILED`

  **Why:** The check digit is wrong, usually a typo.

  **Fix:** Recheck the barcode against your source.

- **You see:** `RELEASE_STORE_NOT_COVERED_BY_DELIVERY_PROFILE`

  **Why:** A selected store isn’t delivered for your account. The finding doesn’t say which store.

  **Fix:** Offer only the stores your RecordJet contact confirmed, and validate before submit. See [Which stores you can offer](https://docs.releaseapi.com/delivery.html#your-stores).

- **You see:** `RELEASE_WITH_SAME_GTIN_EXISTS`

  **Why:** Another release in your account has this GTIN and isn’t taken down.

  **Fix:** Change the existing release with an edit instead of creating a second one. See [How uniqueness is checked](https://docs.releaseapi.com/identifiers.html#uniqueness).

- **You see:** `DIFFERENT_DRAFT_RELEASE_WITH_SAME_EXTERNAL_ID_EXISTS_ALREADY`

  **Why:** Another draft in the tenant already uses this `externalId`.

  **Fix:** Reuse the existing draft’s id, or pick a unique `externalId`.

- **You see:** A retried write opened an edit of a live release

  **Why:** The release was accepted between your first attempt and the retry. A write to an accepted release’s id creates an edit draft.

  **Fix:** Before retrying a stale write, check `GET /v1/distribution/catalog/releases/{id}`. See [Retries after acceptance](https://docs.releaseapi.com/drafts.html#write-semantics).

## Review

After you submit, the outcome arrives on the journal, not in the response.

- **You see:** The draft stays in `REVIEW`

  **Why:** There’s no decision yet. A person on RecordJet’s review team decides each new release.

  **Fix:** Wait for the journal event. For a sandbox test release, ask your RecordJet contact to review it. See [The review decision](https://docs.releaseapi.com/review.html#the-decision).

- **You see:** The draft answers 404 right after acceptance

  **Why:** Acceptance deletes the draft. The catalog release keeps the same id.

  **Fix:** Read `GET /v1/distribution/catalog/full-releases/{id}`. See [What acceptance does](https://docs.releaseapi.com/review.html#after-acceptance).

- **You see:** The draft disappeared while it was in review

  **Why:** Someone sent `DELETE`. Deleting isn’t locked during review and cancels the submission.

  **Fix:** Withdraw instead of deleting when you want to keep the draft. See [Withdraw a submission](https://docs.releaseapi.com/review.html#withdraw).

- **You see:** `INVALID_TARGET_STATUS` (400)

  **Why:** Only `REVIEW` and `DRAFT` can be set on a draft’s status.

  **Fix:** Send `{"status": "REVIEW"}` to submit, `{"status": "DRAFT"}` to withdraw.

- **You see:** `DRAFT_RELEASE_REJECTED` arrives

  **Why:** A reviewer rejected the release. Each reason has a stable code and points at a track or the booklet when it’s about one.

  **Fix:** Fix what the reasons point at and submit again. See [Handle a rejection](https://docs.releaseapi.com/review.html#handle-a-rejection).

- **You see:** Rejected with `PROVIDER_OUT_OF_GTIN`
  `PROVIDER_OUT_OF_ISRC`

  **Why:** Acceptance needed to assign a code, and the tenant has no free GTIN, or no ISRC range for the current year.

  **Fix:** Register a range (an ISRC range per year) or send your own codes, then submit again. See [When acceptance fails](https://docs.releaseapi.com/review.html#acceptance-failures).

- **You see:** Rejected with `RELEASE_INVALID_IMPORT_NOT_POSSIBLE`

  **Why:** The release couldn’t be written to the catalog.

  **Fix:** Send the release id to your RecordJet contact.

- **You see:** Your handler runs twice for one rejection

  **Why:** A rejection writes two journal events on the draft.

  **Fix:** Handle a rejection only on the `DRAFT_RELEASE` event with `eventType: OTHER` and `DRAFT_RELEASE_REJECTED`, and an acceptance only on the `RELEASE` event with `DRAFT_RELEASE_ACCEPTED`. See [Recipes](https://docs.releaseapi.com/events.html#recipes).

## Delivery and stores

Delivery starts automatically on acceptance. Most problems come from a store that isn’t covered, a hold, or a store that rejected the release after delivery.

- **You see:** A selected store never appears in `deliveredStores`

  **Why:** No delivery profile covers that store, so syncs skip it.

  **Fix:** Ask your RecordJet contact whether that store is delivered. See [Which stores you can offer](https://docs.releaseapi.com/delivery.html#your-stores).

- **You see:** `isSynced` stays `false` for hours

  **Why:** A delivery request is waiting in the queue, or failing and retrying.

  **Fix:** Check `storeSnapshot` for the store that’s behind, the [queue depth](https://docs.releaseapi.com/delivery.html#queue-depth), and the journal for `DELIVERY_REQUEST_FAILURE` on the release.

- **You see:** `DELIVERY_REQUEST_FAILURE` every few hours

  **Why:** Retries never stop by themselves. `PREPARE_DELIVERY_FAILED` means the package can’t be built and will fail the same way every time.

  **Fix:** Read `payloadPatched.error.message` on the `UPDATED` event, then fix the release with an edit. The edit’s sync replaces the queued retry. See [Troubleshooting delivery](https://docs.releaseapi.com/delivery.html#troubleshooting).

- **You see:** `TRANSFER_FAILED` and other transfer errors

  **Why:** The transfer to the store’s feed didn’t complete. This is temporary.

  **Fix:** You don’t need to do anything. The transfer is retried automatically. See [Troubleshooting delivery](https://docs.releaseapi.com/delivery.html#troubleshooting).

- **You see:** `APPLE_VALIDATION_FAILED`

  **Why:** Apple rejected the package. It isn’t retried.

  **Fix:** Read Apple’s messages in the request’s `error.message` and fix the release with an edit. See [Troubleshooting delivery](https://docs.releaseapi.com/delivery.html#troubleshooting).

- **You see:** A release you were holding back was delivered

  **Why:** `syncRequestSuppress` only applies to the submission it’s set on. A later edit without it that changes something stores see, even an automatically accepted date change, still syncs, and so does a sync that was already pending.

  **Fix:** Set it on every edit of a held release. See [Hold a release back](https://docs.releaseapi.com/delivery.html#hold-a-release).

- **You see:** `SYNC_REQUEST_ALREADY_SET`

  **Why:** Acceptance already set a sync, and the scheduler hasn’t picked it up yet.

  **Fix:** You don’t need to do anything. Acceptance starts the sync, so you never need to request one afterwards.

- **You see:** An accepted edit didn’t reach the stores

  **Why:** The edit only changed things stores don’t see (pitching, rights files, internal ids), so no sync was set.

  **Fix:** Check `isSynced`. See [Syncs happen automatically](https://docs.releaseapi.com/delivery.html#automatic-syncs).

- **You see:** `RELEASED`, but no Spotify or Apple link

  **Why:** Stores publish on their own schedule. Store ids are fetched once, when the status turns `RELEASED`. Releases accepted with a past release date start `RELEASED` and are never looked up.

  **Fix:** Request a crawl with `forceReload: true` a day later. See [Is it live?](https://docs.releaseapi.com/delivery.html#is-it-live).

- **You see:** Still `UNRELEASED` on the release date

  **Why:** The status job runs once a day at 12:00 UTC.

  **Fix:** Check again after 12:00 UTC. See [Release status](https://docs.releaseapi.com/catalog.html#release-status).

## Live releases and edits

A live release keeps its id. Every change goes through an edit draft under that id.

- **You see:** An edit is blocked by `RELEASE_TRACK_LENGTH_CHANGED`
  `CHANGING_CUSTOMER_CURRENTLY_NOT_SUPPORTED`

  **Why:** Edits can’t change the track count, track ids, positions, ISRCs, the booklet’s presence, the owner or the GTIN.

  **Fix:** Create a new release with a new GTIN and take the old one down. See [What an edit can’t change](https://docs.releaseapi.com/catalog.html#what-an-edit-cant-change).

- **You see:** Someone’s half-finished edit is gone

  **Why:** `draft-from-release` replaces an open edit draft without warning, even one in review.

  **Fix:** Check `GET /v1/distribution/drafts/full-releases/{releaseId}` first, and continue an open edit if there is one. See [Open the edit draft](https://docs.releaseapi.com/catalog.html#open-the-edit-draft).

- **You see:** The edit diff answers 401

  **Why:** `GET …/drafts/releases/{id}/changes` is client-key only.

  **Fix:** Compare the edit draft with the live release yourself. See [Check the diff](https://docs.releaseapi.com/catalog.html#check-the-diff).

- **You see:** A new split or fee didn’t apply to this month

  **Why:** Ledger changes take effect on the 1st of the month after acceptance, and the last change in a month wins.

  **Fix:** Plan split changes a month ahead. See [When changes take effect](https://docs.releaseapi.com/ledger.html#when-changes-take-effect).

## GTINs and ISRCs

You always bring your own codes. Most problems are missing or overlapping ranges.

- **You see:** Releases start failing in January

  **Why:** ISRC ranges are per year. Without a range for the new year, acceptance fails with `PROVIDER_OUT_OF_ISRC`.

  **Fix:** Register next year’s ISRC range before New Year. See [ISRC ranges](https://docs.releaseapi.com/identifiers.html#isrc-ranges).

- **You see:** `GTIN_RANGE_OVERLAPS_EXISTING`
  `ISRC_RANGE_OVERLAPS_EXISTING`

  **Why:** The range overlaps any range registered in ReleaseAPI: yours, another tenant’s or another account’s.

  **Fix:** Split your prefix into separate ranges, one per tenant. See [Register your ranges](https://docs.releaseapi.com/identifiers.html#register-ranges).

- **You see:** An older release stopped being delivered

  **Why:** A newer release with the same GTIN was accepted and claimed it (`generated.gtinClaimedBy`). Assigned codes aren’t checked against codes you typed in by hand.

  **Fix:** Register only numbers you’ve never used. See [How uniqueness is checked](https://docs.releaseapi.com/identifiers.html#uniqueness).

## Money and statements

Monthly statements hold the final money figures. Read them one month at a time, once that month is final.

- **You see:** A month’s statement reports aren’t there

  **Why:** The month isn’t final yet. An empty list never means “earned nothing”. Every tenant with releases in the ledger gets the full set of ten reports for each accepted month.

  **Fix:** Check the report list once a day. See [Know when a month is final](https://docs.releaseapi.com/statements.html#know-when-final).

- **You see:** The resolve endpoints answer 401

  **Why:** `resolve-gtin` and `resolve-isrc` are client-key only.

  **Fix:** Read your own ledger commits instead. See [Check where money goes as a tenant](https://docs.releaseapi.com/ledger.html#tenant-checks).

- **You see:** A track earns, but no wallet receives anything

  **Why:** The track has no share rule. Nothing in validation catches this.

  **Fix:** Give every track a share rule before you submit. See [Set a share rule](https://docs.releaseapi.com/ledger.html#set-a-share-rule).

- **You see:** Wallet totals add up to more than the track earned

  **Why:** On wallet series, quantity and the client, tenant and customer amounts are the whole track’s figures. Only the wallet field is the wallet’s share.

  **Fix:** Sum `estimatedEarningsWallets` (statements: `earningsWallet`) only. See [What each series returns](https://docs.releaseapi.com/analytics.html#series-shapes).

- **You see:** `INVALID_FEE_PERCENTAGE`

  **Why:** The fee is outside 0–1.

  **Fix:** Send `0.15`, not `15`.

- **You see:** `EXTERNAL_ID_ALREADY_DEFINED`

  **Why:** Another customer (or wallet) in the tenant already uses this `externalId`. On update, duplicates aren’t reliably rejected.

  **Fix:** Keep `externalId` unique yourself. See [Customer and wallet errors](https://docs.releaseapi.com/royalties.html#errors).

- **You see:** `CLIENT_DOES_NOT_EXIST` when creating a wallet

  **Why:** Despite the name, the customer wasn’t found in the tenant.

  **Fix:** Check the customer id and the tenant.

- **You see:** `CUSTOMER_NOT_FOUND` on a draft

  **Why:** `accounting.ownerCustomerId` doesn’t point at a customer in the release’s tenant.

  **Fix:** Create the customer first, with the same tenant. See [Create a customer](https://docs.releaseapi.com/royalties.html#create-a-customer).

## Analytics, reports and exports

Daily figures are estimates that keep changing for a while. Monthly statements are final.

- **You see:** Analytics, trends and statements are empty in sandbox

  **Why:** Sandbox has no store data, so there are no daily imports and no statements.

  **Fix:** Your RecordJet contact provides sample report files. Build your parsers against them and the column tables, then run them in production with a `READER` key. See [Sandbox behaviour](https://docs.releaseapi.com/api-basics.html#sandbox).

- **You see:** A daily series starts later than you asked

  **Why:** Daily series keep 370 days. An older `from` is silently moved forward.

  **Fix:** Compare `meta.effectiveFrom` with your request, and use statement series or exports for older history. See [History](https://docs.releaseapi.com/analytics.html#retention).

- **You see:** Figures for past days changed

  **Why:** Stores keep revising recent days. Rows from later imports add to earlier ones.

  **Fix:** Sum all rows per sold day, and use `reportedAsOf` to freeze a chart. See [Rows add up](https://docs.releaseapi.com/reports.html#rows-add-up).

- **You see:** A trend report vanished and came back with a new id

  **Why:** RecordJet re-ran the day, and no event tells a tenant key about it.

  **Fix:** Key reports by tenant, day, provider and type, and list them newest first down to your watermark. See [Re-runs](https://docs.releaseapi.com/reports.html#re-runs).

- **You see:** `RELEASE_BATCH_LIMIT`
  `RELEASE_IDS_REQUIRED`

  **Why:** The batch call had no ids, or more than 500.

  **Fix:** Send 1–500 of your own release ids. See [Batch](https://docs.releaseapi.com/analytics.html#batch).

- **You see:** `HELIX_QUERY_FAILED`

  **Why:** The analytics query failed for a reason other than your parameters’ format.

  **Fix:** Check the request, and don’t retry it unchanged. See [Access and errors](https://docs.releaseapi.com/analytics.html#access-and-errors).

- **You see:** `HELIX_UNAVAILABLE`
  `NOT_READY` (503)

  **Why:** The analytics service is starting up or briefly unavailable.

  **Fix:** Retry with backoff.

- **You see:** An export stays `OPEN`

  **Why:** Exports queue at busy times. A tenant key doesn’t get export events.

  **Fix:** Poll the export every few seconds. See [Wait for the file](https://docs.releaseapi.com/reports.html#wait-for-the-file).

- **You see:** `STATUS_NOT_SUCCESS` on download

  **Why:** You downloaded before the export finished.

  **Fix:** Wait for `SUCCESS`, then download.

- **You see:** `ONLY_OWN_TENANT_ID_CAN_BE_QUERIED`

  **Why:** The export’s tenant filter names another tenant.

  **Fix:** Leave the tenant filter out with a tenant key. See [Export errors](https://docs.releaseapi.com/reports.html#errors).

## Events and webhooks

The journal is the source of truth. A webhook only tells you that there’s something new to read there.

- **You see:** The journal returns `[]` forever

  **Why:** You read `descending` without a cursor, or your stored cursor came from the other environment.

  **Fix:** Reset to an empty body to read from the start. See [Read the journal](https://docs.releaseapi.com/events.html#cursor).

- **You see:** Every read starts from the beginning

  **Why:** The cursor fields are `lastCreatedAt` and `lastId`. Unknown fields such as `eventId` are ignored.

  **Fix:** Send both fields from the last event you processed.

- **You see:** `UNAUTHED_ELEMENT_ID` (400)

  **Why:** You asked for the history of an object outside your key’s scope, such as an export ordered by a tenant key.

  **Fix:** Poll the object itself instead.

- **You see:** A tenant consumer never sees export, statement or trend events

  **Why:** Those events belong to the client stream.

  **Fix:** Poll the lists. See [Events only a client key sees](https://docs.releaseapi.com/events.html#client-only-events).

- **You see:** No webhook pings arrive

  **Why:** The URL isn’t public, or doesn’t answer within a second. `localhost` and private addresses are rejected when you set them.

  **Fix:** Use a public URL or a tunnel, respond immediately, and keep polling on a timer as a fallback. See [Webhooks](https://docs.releaseapi.com/events.html#webhooks).

## Preview links

The public endpoint is the only ReleaseAPI call a browser makes.

- **You see:** 404 from the public endpoint

  **Why:** The secret is unknown, or the link was deleted.

  **Fix:** Create a new link. See [Responses from the public endpoint](https://docs.releaseapi.com/catalog.html#public-errors).

- **You see:** `NO_LONGER_VALID`
  `ACCESS_QUOTA_REACHED` (410)

  **Why:** `expiresAt` has passed, or `requestsRemaining` is used up.

  **Fix:** Create a new link, or set a later expiry or a higher limit.

- **You see:** `RELEASE_DOES_NOT_BELONG_TO_TENANT`, `RELEASE_DOES_NOT_BELONG_TO_CLIENT` or `CLIENT_REQUEST_NEEDS_TENANT_ID_IN_BODY` when creating a link

  **Why:** The release belongs to another tenant or client, or a client key left out `tenantId`.

  **Fix:** Use a release of the tenant you create the link for. With a client key, also send its `tenantId`. See [Create a link](https://docs.releaseapi.com/catalog.html#create-a-link).

- **You see:** `RELEASE_DOES_NOT EXIST` (400)

  **Why:** The `linkedReleaseId` isn’t a catalog release. The code really does contain a space, so match it exactly.

  **Fix:** Use the id of an accepted release.

## Works differently in sandbox

If something only fails, or only works, in sandbox, check this list first. The full description is in [Sandbox behaviour](https://docs.releaseapi.com/api-basics.html#sandbox).

| In sandbox | What that means for testing |
| --- | --- |
| Sync requests aren’t processed. An accepted release keeps `syncRequest` set and `isSynced: false`, and no delivery requests appear. | Deliveries, failures and retries can’t be triggered. Test your handlers against recorded events from the [Event catalog](https://docs.releaseapi.com/events.html#event-catalog). |
| There’s no daily store-id lookup. | `storeReferences` stay empty. A manual crawl searches the real stores, so it only finds releases that are actually live. |
| There are no trend imports and no statements. | Analytics and reports stay empty. Your RecordJet contact provides sample report files to build against. |
| Reviews are done by RecordJet. | Ask your RecordJet contact to review a test release. |
| Webhooks can’t point at a local address. | `localhost` and private addresses are rejected. Use a tunnel, or read the journal on a timer. |
| You bring your own GTIN and ISRC ranges, in sandbox too. | Register a range before your first submission ([Quickstart](https://docs.releaseapi.com/quickstart.html#register-ranges)), or acceptance fails with `PROVIDER_OUT_OF_GTIN` or `PROVIDER_OUT_OF_ISRC`. |

## Client accounts

This section is only for client accounts. These problems come from managing tenants, which a tenant under RecordJet never does itself. See [Client accounts](https://docs.releaseapi.com/client-accounts.html).

- **You see:** `EMAIL_ALREADY_DEFINED` when creating a tenant

  **Why:** Another tenant already uses this contact email.

  **Fix:** Use a unique address, for example a plus-address. See [Create a tenant](https://docs.releaseapi.com/client-accounts.html#create-a-tenant).

## Code index

Every code on this page, alphabetically. For validation findings and rejection reasons, see [Reference data › Validation codes](https://docs.releaseapi.com/reference-data.html#validation-codes). For file inspection reasons, see [File specifications](https://docs.releaseapi.com/files.html#specifications).

- **A**&ensp;[`ACCESS_QUOTA_REACHED`](https://docs.releaseapi.com/troubleshooting.html#err-ACCESS_QUOTA_REACHED) · [`API_TOKEN_DISABLED`](https://docs.releaseapi.com/troubleshooting.html#err-API_TOKEN_DISABLED) · [`API_TOKEN_EXPIRED`](https://docs.releaseapi.com/troubleshooting.html#err-API_TOKEN_EXPIRED) · [`APPLE_VALIDATION_FAILED`](https://docs.releaseapi.com/troubleshooting.html#err-APPLE_VALIDATION_FAILED)

- **B**&ensp;[`BLOCKED_URL_HOST`](https://docs.releaseapi.com/troubleshooting.html#err-BLOCKED_URL_HOST)

- **C**&ensp;[`CHANGING_CUSTOMER_CURRENTLY_NOT_SUPPORTED`](https://docs.releaseapi.com/troubleshooting.html#err-CHANGING_CUSTOMER_CURRENTLY_NOT_SUPPORTED) · [`CLIENT_DOES_NOT_EXIST`](https://docs.releaseapi.com/troubleshooting.html#err-CLIENT_DOES_NOT_EXIST) · [`CLIENT_REQUEST_NEEDS_TENANT_ID_IN_BODY`](https://docs.releaseapi.com/troubleshooting.html#err-CLIENT_REQUEST_NEEDS_TENANT_ID_IN_BODY) · [`COULD_NOT_FINISH_MULTIPART`](https://docs.releaseapi.com/troubleshooting.html#err-COULD_NOT_FINISH_MULTIPART) · [`COVER_BELONGS_TO_OTHER_TENANT`](https://docs.releaseapi.com/troubleshooting.html#err-COVER_BELONGS_TO_OTHER_TENANT) · [`COVER_FILE_STILL_IN_USE`](https://docs.releaseapi.com/troubleshooting.html#err-COVER_FILE_STILL_IN_USE) · [`COVER_NOT_FOUND`](https://docs.releaseapi.com/troubleshooting.html#err-COVER_NOT_FOUND) · [`CUSTOMER_NOT_FOUND`](https://docs.releaseapi.com/troubleshooting.html#err-CUSTOMER_NOT_FOUND)

- **D**&ensp;[`DECODING_FAILED`](https://docs.releaseapi.com/troubleshooting.html#err-DECODING_FAILED) · [`DELIVERY_REQUEST_FAILURE`](https://docs.releaseapi.com/troubleshooting.html#err-DELIVERY_REQUEST_FAILURE) · [`DIFFERENT_DRAFT_RELEASE_WITH_SAME_EXTERNAL_ID_EXISTS_ALREADY`](https://docs.releaseapi.com/troubleshooting.html#err-DIFFERENT_DRAFT_RELEASE_WITH_SAME_EXTERNAL_ID_EXISTS_ALREADY) · [`DRAFT_RELEASE_REJECTED`](https://docs.releaseapi.com/troubleshooting.html#err-DRAFT_RELEASE_REJECTED)

- **E**&ensp;[`EMAIL_ALREADY_DEFINED`](https://docs.releaseapi.com/troubleshooting.html#err-EMAIL_ALREADY_DEFINED) · [`EXTERNAL_ID_ALREADY_DEFINED`](https://docs.releaseapi.com/troubleshooting.html#err-EXTERNAL_ID_ALREADY_DEFINED)

- **G**&ensp;[`GTIN_RANGE_OVERLAPS_EXISTING`](https://docs.releaseapi.com/troubleshooting.html#err-GTIN_RANGE_OVERLAPS_EXISTING)

- **H**&ensp;[`HELIX_QUERY_FAILED`](https://docs.releaseapi.com/troubleshooting.html#err-HELIX_QUERY_FAILED) · [`HELIX_UNAVAILABLE`](https://docs.releaseapi.com/troubleshooting.html#err-HELIX_UNAVAILABLE)

- **I**&ensp;[`INVALID_FEE_PERCENTAGE`](https://docs.releaseapi.com/troubleshooting.html#err-INVALID_FEE_PERCENTAGE) · [`INVALID_IDS_LIST_LENGTH`](https://docs.releaseapi.com/troubleshooting.html#err-INVALID_IDS_LIST_LENGTH) · [`INVALID_LIMIT`](https://docs.releaseapi.com/troubleshooting.html#err-INVALID_LIMIT) · [`INVALID_OFFSET`](https://docs.releaseapi.com/troubleshooting.html#err-INVALID_OFFSET) · [`INVALID_TARGET_STATUS`](https://docs.releaseapi.com/troubleshooting.html#err-INVALID_TARGET_STATUS) · [`INVALID_URL`](https://docs.releaseapi.com/troubleshooting.html#err-INVALID_URL) · [`ISRC_RANGE_OVERLAPS_EXISTING`](https://docs.releaseapi.com/troubleshooting.html#err-ISRC_RANGE_OVERLAPS_EXISTING)

- **M**&ensp;[`MASTER_BELONGS_TO_OTHER_TENANT`](https://docs.releaseapi.com/troubleshooting.html#err-MASTER_BELONGS_TO_OTHER_TENANT) · [`MASTER_NOT_FOUND`](https://docs.releaseapi.com/troubleshooting.html#err-MASTER_NOT_FOUND)

- **N**&ensp;[`NOT_READY`](https://docs.releaseapi.com/troubleshooting.html#err-NOT_READY) · [`NO_LONGER_VALID`](https://docs.releaseapi.com/troubleshooting.html#err-NO_LONGER_VALID)

- **O**&ensp;[`ONLY_OWN_TENANT_ID_CAN_BE_QUERIED`](https://docs.releaseapi.com/troubleshooting.html#err-ONLY_OWN_TENANT_ID_CAN_BE_QUERIED)

- **P**&ensp;[`PARSING_FAILED`](https://docs.releaseapi.com/troubleshooting.html#err-PARSING_FAILED) · [`PATCH_FULL_DRAFT_REQUIRES_BOOKLET_ID_IN_CHANGE_REQUEST`](https://docs.releaseapi.com/troubleshooting.html#err-PATCH_FULL_DRAFT_REQUIRES_BOOKLET_ID_IN_CHANGE_REQUEST) · [`PATCH_FULL_DRAFT_REQUIRES_TRACK_ID_IN_CHANGE_REQUEST`](https://docs.releaseapi.com/troubleshooting.html#err-PATCH_FULL_DRAFT_REQUIRES_TRACK_ID_IN_CHANGE_REQUEST) · [`PERMISSION_DENIED`](https://docs.releaseapi.com/troubleshooting.html#err-PERMISSION_DENIED) · [`PREPARE_DELIVERY_FAILED`](https://docs.releaseapi.com/troubleshooting.html#err-PREPARE_DELIVERY_FAILED) · [`PROVIDER_OUT_OF_GTIN`](https://docs.releaseapi.com/troubleshooting.html#err-PROVIDER_OUT_OF_GTIN) · [`PROVIDER_OUT_OF_ISRC`](https://docs.releaseapi.com/troubleshooting.html#err-PROVIDER_OUT_OF_ISRC)

- **R**&ensp;[`RELEASE_BATCH_LIMIT`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_BATCH_LIMIT) · [`RELEASE_COVER_STATUS_NOT_SUCCESS`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_COVER_STATUS_NOT_SUCCESS) · [`RELEASE_DOES_NOT EXIST`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_DOES_NOT_EXIST) · [`RELEASE_HAS_VALIDATION_ERRORS`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_HAS_VALIDATION_ERRORS) · [`RELEASE_IDENTIFIERS_GTIN_CHECKSUM_FAILED`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_IDENTIFIERS_GTIN_CHECKSUM_FAILED) · [`RELEASE_IDENTIFIERS_GTIN_INVALID`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_IDENTIFIERS_GTIN_INVALID) · [`RELEASE_IDS_REQUIRED`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_IDS_REQUIRED) · [`RELEASE_INVALID_IMPORT_NOT_POSSIBLE`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_INVALID_IMPORT_NOT_POSSIBLE) · [`RELEASE_LOCKED_IN_REVIEW`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_LOCKED_IN_REVIEW) · [`RELEASE_NOT_FOUND`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_NOT_FOUND) · [`RELEASE_STORE_NOT_COVERED_BY_DELIVERY_PROFILE`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_STORE_NOT_COVERED_BY_DELIVERY_PROFILE) · [`RELEASE_TRACK_LENGTH_CHANGED`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_TRACK_LENGTH_CHANGED) · [`RELEASE_WITH_SAME_GTIN_EXISTS`](https://docs.releaseapi.com/troubleshooting.html#err-RELEASE_WITH_SAME_GTIN_EXISTS)

- **S**&ensp;[`SAME_TENANT_ID_NEEDED_ON_ALL_REQUESTS`](https://docs.releaseapi.com/troubleshooting.html#err-SAME_TENANT_ID_NEEDED_ON_ALL_REQUESTS) · [`SHARE_SUM_INVALID`](https://docs.releaseapi.com/troubleshooting.html#err-SHARE_SUM_INVALID) · [`SPOTIFY_RATE_LIMITED`](https://docs.releaseapi.com/troubleshooting.html#err-SPOTIFY_RATE_LIMITED) · [`SPOTIFY_UNAVAILABLE`](https://docs.releaseapi.com/troubleshooting.html#err-SPOTIFY_UNAVAILABLE) · [`STATUS_NOT_SUCCESS`](https://docs.releaseapi.com/troubleshooting.html#err-STATUS_NOT_SUCCESS) · [`SYNC_REQUEST_ALREADY_SET`](https://docs.releaseapi.com/troubleshooting.html#err-SYNC_REQUEST_ALREADY_SET)

- **T**&ensp;[`TENANT_ID_MUST_BE_EMPTY_OR_AS_AUTH_SCOPE`](https://docs.releaseapi.com/troubleshooting.html#err-TENANT_ID_MUST_BE_EMPTY_OR_AS_AUTH_SCOPE) · [`TENANT_ID_MUST_BE_EMPTY_OR_SAME_AS_AUTH_SCOPE`](https://docs.releaseapi.com/troubleshooting.html#err-TENANT_ID_MUST_BE_EMPTY_OR_SAME_AS_AUTH_SCOPE) · [`TENANT_ID_NEEDED_FOR_CLIENT_REQUEST`](https://docs.releaseapi.com/troubleshooting.html#err-TENANT_ID_NEEDED_FOR_CLIENT_REQUEST) · [`TENANT_ID_NEEDED_FOR_CLIENT_SCOPE`](https://docs.releaseapi.com/troubleshooting.html#err-TENANT_ID_NEEDED_FOR_CLIENT_SCOPE) · [`TRACK_MASTER_STATUS_NOT_SUCCESS`](https://docs.releaseapi.com/troubleshooting.html#err-TRACK_MASTER_STATUS_NOT_SUCCESS) · [`TRANSFER_FAILED`](https://docs.releaseapi.com/troubleshooting.html#err-TRANSFER_FAILED)

- **U**&ensp;[`UNAUTHED_ELEMENT_ID`](https://docs.releaseapi.com/troubleshooting.html#err-UNAUTHED_ELEMENT_ID) · [`UNAUTHORIZED`](https://docs.releaseapi.com/troubleshooting.html#err-UNAUTHORIZED) · [`URL_HOST_UNRESOLVABLE`](https://docs.releaseapi.com/troubleshooting.html#err-URL_HOST_UNRESOLVABLE)

- **W**&ensp;[`WALLET_ID_NOT_FOUND`](https://docs.releaseapi.com/troubleshooting.html#err-WALLET_ID_NOT_FOUND)

## Next steps

- [API basics](https://docs.releaseapi.com/api-basics.html): The full detail on error shapes, status codes, retries and limits.
- [Validation codes](https://docs.releaseapi.com/reference-data.html#validation-codes): Every check a draft runs, with severity and how to fix it.
- [Recipes](https://docs.releaseapi.com/recipes.html): Short, verified answers for the tasks that come up every week.
