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
Any idea how to fix an error message "failed to fetch" in apple music on my HP pc?
Windows, Windows 10
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
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
I am getting this also using the browser version. Tried Firefox and Edge.
It's CORS error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.music.apple.com/WebObjects/MZPlay.woa/wa/webPlayback. (Reason: CORS request did not succeed). Status code: (null).
I was hoping I could edit my above message, but can't seem to.
From my experience as a developer this a bug in the application. The application cannot connect to the playback service due to a misconfiguration. CORS errors are always server side from my experience.
I contacted support but there was no way for me to report a bug.
Thanks. Interesting. I was getting it in Edge. I ended up logging out and back in through settings and it seems to be working now. Keeping my fingers crossed. Thanks and good luck on your end.
getting failed to fetch error in apple music on my HP pc