getting failed to fetch error in apple music on my HP pc

Any idea how to fix an error message "failed to fetch" in apple music on my HP pc?


Windows, Windows 10

Posted on Aug 24, 2022 02:52 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 24, 2022 04:54 PM

Sorry to be replying to my own messages, but the issue is in the musickit.js library:


From the console:

Cookie “media-user-token” does not have a proper “SameSite” attribute 
value. Soon, cookies without the “SameSite” attribute or with an invalid
 value will be treated as “Lax”. This means that the cookie will no 
longer be sent in third-party contexts. If your application depends on 
this cookie being available in such contexts, please add the 

“SameSite=None“ attribute to it.


It stands to reason that "Soon" was today, so without SameSite configured properly, the CORS error triggers. These are security settings within the application. I don't think end users can do anything. It is up to the devs to fix this.


I would suggest that everyone who has this problem fill this out: Feedback - Apple Music - Apple


4 replies
Question marked as Top-ranking reply

Aug 24, 2022 04:54 PM in response to johnny-the-fox

Sorry to be replying to my own messages, but the issue is in the musickit.js library:


From the console:

Cookie “media-user-token” does not have a proper “SameSite” attribute 
value. Soon, cookies without the “SameSite” attribute or with an invalid
 value will be treated as “Lax”. This means that the cookie will no 
longer be sent in third-party contexts. If your application depends on 
this cookie being available in such contexts, please add the 

“SameSite=None“ attribute to it.


It stands to reason that "Soon" was today, so without SameSite configured properly, the CORS error triggers. These are security settings within the application. I don't think end users can do anything. It is up to the devs to fix this.


I would suggest that everyone who has this problem fill this out: Feedback - Apple Music - Apple


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

getting failed to fetch error in apple music on my HP pc

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.