Post

Replies

Boosts

Views

Activity

Error while using music catalog search request
I am attempting to use MusicCatalogSearchRequest(.isrc) in order to search the catalog for info related to a song by ISRC. Issue is I get HUGE amounts of debug output in the console with the errors below. The clutter the Xcode logs to the point where I can't even view anything useful. Has anyone else seen this? Attempted to register account monitor for types client is not authorized to access: {( "com.apple.account.iTunesStore" )}
1
3
740
Jun ’23
Songs Are Missing From Apple Music API JSON
At random points the recent-played endpoint will be missing songs that a users listened to. I will attach the most recent json but my issues is I listened to 5 jazz songs this afternoon. This morning I listened to 5 songs by the artist Trevor Hall. Yesterday I listened to Astronaut in the Ocean. When I was querying the endpoint this morning. The Trevor Halls songs were included in the return. If I query the endpoint now, they are missing. In the 'Trevor_hall_missing.json' it goes directly from the jazz music, to astronaut in the ocean. Earlier today (I will try and find the json and attach). it would be jazz, Trevor hall, then astronaut. There was no music listened to in between this range. trevor_hall_missing.json trevor_hall_included.json
1
0
1.2k
May ’22
Recent Played Tracks Endpoint.
am having two issues with this endpoint. The first one, even though I am being specific and asking for type=songs, I still get data related to a music video in this. This returns Id, type and href, but instead of getting the attributes field, it is blank. This only happens for music videos. the second issues is if I am asking for a limit of 30 songs, I sometimes only get 28 in the returned JSON
0
0
488
May ’22
MusicKit Dev Token Refresh
I am trying to follow along with this in order to auto generate my dev token on requests to MusicKit, but I am getting an error about by identifier, which was configured Link: https://developer.apple.com/documentation/musickit/using-automatic-token-generation-for-apple-music-api Error: 2022-04-26 14:12:06.353589-0400 [6885:431407] [DataRequesting] Failed retrieving developer token: Error Domain=ICErrorDomain Code=-8200 "Media API Token Service responded with status code: Not Found (404). This suggests that "<set_bundle_ID>" was likely not registered as a valid client identifier." UserInfo={NSDebugDescription=Media API Token Service responded with status code: Not Found (404). This suggests that "<set_bundle_ID>" was likely not registered as a valid client identifier., NSUnderlyingError=0x2827669a0 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://sf-api-token-service.itunes.apple.com/apiToken?REDACTED, AMSStatusCode=404, AMSServerPayload={     message = "Client not found";     status = 40402; }, NSLocalizedFailureReason=The response has an invalid status code}}}. Throwing .developerTokenRequestFailed. error getting token
4
0
1.7k
Apr ’22