Filed as FB25810322.
Our web app (MusicKit on the Web v3) gets 401s from api.music.apple.com for valid developer tokens. The refusals depend only on which Apple server handles the request, as shown in the x-daiquiri-instance response header:
Pool (x-daiquiri-instance) x-apple-application-site 200 401
l7shared-int-001-st ST00-PDC 169 0
l7shared-int-001-mr MR00-PDC 51 0
l7shared-ext-001-st st 0 38
l7shared-ext-001-mr mr 0 140
That's 400 requests to /v1/catalog/us/search on 1 Dec 2026, 16:47–16:57 UTC, using a new HTTPS connection per request and alternating our two MusicKit keys. Each pool also returned one 500. Every request served by an "ext" server was refused, with an empty 401 body. Every request served by an "int" server was accepted. Both keys behave the same.
Same key and same token, 0.8 s apart:
- 16:47:26.110Z, 401, jingle FIYNK7YT3X6ZWKTCB32FC5WQQY, l7shared-ext-001-mr
- 16:47:26.941Z, 200, jingle FM4BMC6X5JZRVZQHJWYX7PKGK4, l7shared-int-001-mr
What we ruled out:
- Token format: low-s and high-s signatures, a 12-hour lifetime and no "typ" header were all refused at the same rate.
- Token age: a token kept for 8 minutes did no better than a new token every 30 s.
- The key: our second key on the same Media ID behaves identically.
- The client: it happens from a plain script and from Chrome and Safari on macOS and iOS.
The share of refused requests changes over time with how much traffic goes to the "ext" pools (from about 5% to 85% per minute). Library endpoints for signed-in users (/v1/me/...) fail the same way. MusicKit's authorize() sometimes rejects with "Storefront Country Code error." right after the user taps Allow.
Has anyone else seen 401s that follow the "ext" pools like this? If an Apple engineer can check whether those pools are missing configuration for newer teams, keys or Media IDs, the full CSV with request IDs is attached to FB25810322. Thanks!
Thanks for filing FB25810322, and for the request IDs and timing data that go with it. What you describe, the same token accepted on one request and refused on the next, needs the Apple Music API team to investigate. Your bug report is the right place for it.
I can't say whether others are seeing it. If anyone else reading this sees the same 401s, please file your own report in Feedback Assistant with your request IDs and timestamps. File it even if it looks like a duplicate, because duplicate reports help engineering understand how many developers are affected.
I'll check the status of FB25810322 next time I do a sweep of forums posts with bug reports.