Songs missing after playlist transfer is a rendering problem before it is a matching problem. Your backend usually knows why each item did not land. The screen throws that knowledge away and prints a single number, "487 of 499 moved", which leaves the listener to work out whether the other 12 are gone, delayed, or never existed on the destination at all.
Four causes cover the items a listener will ask you about. Each needs different words on screen and a different next action. Here is the mapping, then the detail, then the part that is harder to find written down: the fields to carry per item, the review screen, and the file the listener keeps.
| Cause | What the listener should read | Action you can offer |
|---|---|---|
| The recording is not in the destination catalogue for this market | "Not available on the destination" | Open a search on the destination, keep the row in the export |
| No ISRC on one side, or two ISRCs for what the listener calls one song | "Matched by name and artist, below the confidence threshold" | Show the best guess, let them confirm or reject |
| A regional or re-released edition changed the metadata | "A different edition of this release matched" | Accept the edition, or pick another |
| The match is explicit and the account blocks explicit playback | "Blocked by the explicit content setting on this account" | Point at the setting, or look for a version without the tag |
Cause 1: the recording is not in the destination catalogue
Availability is per country, not global. Spotify ties track availability to the country registered on the listener's profile, and the same recording often exists as several instances in the catalogue, each licensed for a different set of markets. Spotify's own players relink across those instances, and the Web API does the same when you pass a market parameter. When there is nothing to relink to, the response comes back with is_playable false and a restrictions object carrying the reason.
In a transfer, this cause looks like a search that returns no candidate worth writing. There is nothing to retry and no threshold to lower. The honest string is "not available on the destination", and the honest next action is a search link, not a progress spinner. Treating this as a failure trains people to re-run imports that cannot ever produce a different result. If your retry path does re-run them, make the write side safe first: see idempotent playlist transfer.
Cause 2: the ISRC is missing, or two ISRCs disagree
Matching starts with the identifier. For each source item, MusicAPI searches the destination first by ISRC where the destination supports it, then by name, artists and album. That first step only works when both sides carry one. Not every live service returns an isrc on its tracks, and not every one accepts an isrc in a user search; the services and features table marks which do. Where both sides carry an ISRC, matching across services is better.
The harder case is two identifiers that are both correct. ISRC rules say any new or materially changed recording must be provided with a new ISRC, and a material change includes different versions, for example differences in playing time. A radio edit and the album cut are different edits, so ISRC rules treat them as separate recordings with separate identifiers. The listener calls them one song. Exact match finds nothing and you fall through to name, artists and album, which is exactly where confidence scores start to matter.
This is the step that is tedious to build and easy to get subtly wrong: per-destination ISRC support, a fuzzy fallback on name, artists and album, and a score you can defend to a user who disagrees with it. MusicAPI runs that step and reports each unmatched item with a reason and the closest candidate as a best guess. For the identifier mechanics themselves, see music metadata APIs and cross-platform matching.
Cause 3: a regional or re-released edition changed the metadata
Two failure modes hide here, and both produce rows that look like your matcher misfired.
First, the ID you read may not be the ID you should write. When Spotify relinks a track, the response carries a linked_from object describing the originally requested track, and the documentation is direct about what to do with it: operate on the original track id found in linked_from. Use the root-level ID for a playlist write and you can get an error or an unexpected result.
Second, a source read without a market can look empty before matching starts. If neither market nor a user country is provided, Spotify considers the content unavailable for the client. A playlist fetched that way can hand your matcher rows it was never going to resolve, and the listener sees a gap you created on the read side.
When the edition that matched is a different pressing, say so. "A different edition of this release matched" is a sentence a listener can accept or reject. "12 songs could not be transferred" is not.
Cause 4: the match is explicit and the account blocks explicit playback
This one is almost always misread as a bug, because the song is in the catalogue, it is in the playlist, and it still will not play.
Spotify tags explicit content from information it receives from rights-holders. When explicit content is switched off, anything with an explicit tag is grayed out, cannot be played, and is skipped automatically. The API reports the same state: a restrictions reason of explicit means the item is explicit and the account is set to not play explicit content, and playlist items carry an explicit boolean of their own. On a Premium Family plan, the plan manager can allow or block explicit content for other members, so the person running the transfer is not always the person who set it.
Do not file these as unmatched. Render them as blocked, name the setting, and be careful about promising a substitute: some explicit releases may not have a clean version.
Carry a reason, a best guess and a score, not one number
The per-item record your UI renders needs four things: what the source item was, what happened, what the closest candidate was, and how close it got. The score is what makes the screen arguable in a good way. A candidate must reach the match threshold of the account, 80 out of 100 by default, and below it the item is unmatched with the reason lowConfidence and the closest candidate reported as the best guess.
This is the view model to build, not an API response. Field names outside reason, lowConfidence and the threshold are yours:
{
"sourceItem": {
"title": "Example Track",
"artists": ["Example Artist"],
"album": "Example Album",
"isrc": null
},
"status": "unmatched",
"reason": "lowConfidence",
"bestGuess": {
"title": "Example Track (Live)",
"artists": ["Example Artist"],
"score": 71
},
"threshold": 80,
"nextAction": "confirmOrReject"
}
A score of 71 against a threshold of 80 reads very differently from a score of 12. The first deserves a confirm button. The second deserves a search box. One number for both is why people open tickets.
Build the "review these 12" screen
Group by reason, not by playlist. A listener scanning 12 rows wants all the low-confidence guesses together, because they answer those the same way.
Three groups, three behaviours:
- Low confidence with a best guess. Show source item and candidate side by side with the score. Confirm writes it. Reject moves it to the export.
- Not in the catalogue. No candidate, no confirm button. Offer a search on the destination and leave the row in the export.
- Blocked by an account setting. Already written. Explain the setting and stop.
Check what the destination will accept before you render a button that writes. Capabilities differ per service, and a call a service does not support answers 418 with internalCode: 15 (NotSupportedMethod). Playlist length is a separate ceiling: the services and features table lists a tracks-per-playlist cap where one is known, from 500 on SoundCloud to 10,000 on Spotify. Both belong in the review screen's logic, not in an error toast after the click. If you are designing the surrounding flow, music library import UX covers where this screen sits in onboarding.
Give them the file
A review screen handles the items someone will act on now. The export handles the rest. The hosted flow ends on a live progress page, then a results page with the match rate, the unmatched items and a CSV export.
Five columns are enough: source title, source artists, source album, reason, best guess. Add the score if your audience is technical. The point is that the listener can close the tab without losing the list, and can send it to you when they disagree. A reason column also turns your support queue into something you can count by cause instead of reading one screenshot at a time.
Read the whole source list first, or your rows are wrong
Every reason code depends on having read the source completely. The MusicAPI endpoint to get playlist tracks on Spotify is GET /api/{userUUID}/playlists/{playlistId}/items, which fetches all tracks and items from a specific playlist, and the normalized track metadata includes ISRC codes. Spotify's own playlist items endpoint caps a page at 50, default 20, so a 2,000 item playlist is 40 pages and 40 chances to drop a page quietly.
Matching against a moving target causes its own phantom gaps. When a user connects an account, MusicAPI reads the library once and keeps a snapshot, so the item count the listener picked from is the item count you reconcile against. Per-item accounting on the backend is the companion to this post: see playlist transfer reconciliation.
What the hosted flow already renders
If you do not want to build the screens, MusicAPI Managed Transfers ships them. The results page carries the match rate, the unmatched items and the CSV export. Your backend gets webhooks and the Match Results API for the unmatched items, and a transfer that ends with some items unresolved reports completedWithErrors, meaning the transfer ended and some items did not match or failed. One detail matters for your support flow: MusicAPI sends no email to your users, webhooks tell your backend and you email them yourself, so the wording in the follow-up email stays yours.
Skip months of OAuth and per-provider SDK work. Sandbox keys are free and instant, and one API moves libraries between 11 streaming services. Start with how Managed Transfers works.
FAQ
Does an unmatched item mean the transfer failed?
No. A transfer that ends with unresolved items reports completedWithErrors: the transfer ended, and some items did not match or failed. Everything else reached the destination. Your UI should say that, because "failed" on a 97 percent result is a support ticket you wrote yourself.
Should I lower the match threshold to reduce the gap?
The threshold is a property of your account and 80 out of 100 is the default. A lower threshold trades unmatched items for wrong items, and a wrong item is more expensive: the listener finds it weeks later in a playlist they trusted. A better move is keeping the threshold and surfacing the best guess with its score, so the person who knows the song decides.
Why do some services match better than others?
Because the identifier is not available everywhere. Tracks in answers carry an isrc only on the services that return one, and matching across services is better when both sides have it. The user search takes an isrc only where the service supports that lookup. Where neither side offers one, every match is a name, artist and album comparison, and the scores spread wider.
Can I tell the difference between "not in the catalogue" and "blocked for this account"?
On Spotify, yes, and the distinction is in the data. A restrictions reason of market means the item is not available in the given market, while explicit means the item is explicit and the account is set to not play explicit content. Carry that distinction into your reason code instead of flattening both into "unavailable". They have different fixes, and only one of them is in the listener's control.