Web player crashes instantly

Solved!
Reply

Web player crashes instantly

reconman12
Regular

Today I wanted to play a playlist. As soon as I clicked on the play button, the whole page became black.

 

Now whenever I open spotify, it forwards me to open.spotify.com/browse/featured, displays the web player for less than half a second and then the web player crashes.

 

Chrome console logs:

Failed to load resource: the server responded with a status of 400 ()
web-player.2986d503.js:1 Uncaught TypeError: Cannot read property 'type' of null
at t.value (web-player.2986d503.js:1)
at h (web-player.2986d503.js:1)
at beginWork (web-player.2986d503.js:1)
at i (web-player.2986d503.js:1)
at o (web-player.2986d503.js:1)
at S (web-player.2986d503.js:1)
at b (web-player.2986d503.js:1)
at v (web-player.2986d503.js:1)
at y (web-player.2986d503.js:1)
at c (web-player.2986d503.js:1)
at Object.enqueueSetState (web-player.2986d503.js:1)
at i.v.setState (web-player.2986d503.js:1)
at i.onStateChange (web-player.2986d503.js:1)
at Object.notify (web-player.2986d503.js:1)
at e.notifyNestedSubs (web-player.2986d503.js:1)
at i.onStateChange (web-player.2986d503.js:1)
at y (web-player.2986d503.js:1)
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at web-player.2986d503.js:1
at Object.dispatch (web-player.2986d503.js:1)
at d.<anonymous> (web-player.2986d503.js:1)
at d.s.emitEventSync (web-player.2986d503.js:1)
at d.<anonymous> (web-player.2986d503.js:1)
at f (web-player.2986d503.js:1)
at e (web-player.2986d503.js:1)
api.spotify.com/v1/episodes/meta:1

 

Firefox console logs:

 

TypeError: p.default.from(...) is null[More Information] web-player.2986d503.js:1:976182

value https://open.scdn.co/static/web-player.2986d503.js:1:976182 h https://open.scdn.co/static/web-player.2986d503.js:1:361202 beginWork https://open.scdn.co/static/web-player.2986d503.js:1:369163 i https://open.scdn.co/static/web-player.2986d503.js:1:373003 o https://open.scdn.co/static/web-player.2986d503.js:1:373282 S https://open.scdn.co/static/web-player.2986d503.js:1:376225 b https://open.scdn.co/static/web-player.2986d503.js:1:375768 v https://open.scdn.co/static/web-player.2986d503.js:1:375605 y https://open.scdn.co/static/web-player.2986d503.js:1:374984 c https://open.scdn.co/static/web-player.2986d503.js:1:374446 enqueueSetState https://open.scdn.co/static/web-player.2986d503.js:1:363804 v.prototype.setState https://open.scdn.co/static/web-player.2986d503.js:1:313921 t.a/</l</i.prototype.onStateChange https://open.scdn.co/static/web-player.2986d503.js:1:195030 <anonym> self-hosted:989:17 notify https://open.scdn.co/static/web-player.2986d503.js:1:569561 o</e.prototype.notifyNestedSubs https://open.scdn.co/static/web-player.2986d503.js:1:569178 <anonym> self-hosted:989:17 t.a/</l</i.prototype.onStateChange https://open.scdn.co/static/web-player.2986d503.js:1:195048 <anonym> self-hosted:989:17 y https://open.scdn.co/static/web-player.2986d503.js:1:189635 t.default/</</< https://open.scdn.co/static/web-player.2986d503.js:1:457978 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:929271 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:922775 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:920956 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:920006 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:919557 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:910695 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:904978 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:928892 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:903829 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:903447 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:219278 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:903064 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:878982 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:875804 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:643603 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:637876 t.default/</< https://open.scdn.co/static/web-player.2986d503.js:1:635847 dispatch https://open.scdn.co/static/web-player.2986d503.js:1:483691 C/t</< https://open.scdn.co/static/web-player.2986d503.js:1:642458 s.prototype.emitEventSync https://open.scdn.co/static/web-player.2986d503.js:1:52809 s.prototype.emit/< https://open.scdn.co/static/web-player.2986d503.js:1:52117 <anonym> self-hosted:989:17 f https://open.scdn.co/static/web-player.2986d503.js:1:663183 e https://open.scdn.co/static/web-player.2986d503.js:1:662874
 
2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution!

Re: Web player crashes instantly

reconman12
Regular

I contacted Spotify support on Twitter today. It was obvious that the person I was talking to was following a script. Almost all error details I gave them including the info from this thread was ignored.

 

Only through some Javascript debugging out of frustration I found the source of the problem.

 

When the web player loads, it tries to load the last song you've played. An old version of the web player seems to have set the song URL to "spotify:meta:context". When the current web player tries to load the song behind that URL, it fails to do so and crashes.

 

The only solution I've found so far is to open the Spotify app and play any song. That will set the last song played variable correctly and you'll be able to use the web player again.

 

Edit: Another person also found the solution of quickly playing any song or playlist before the web player crashes.

 

I hope that the Twitter support person doesn't ignore all the technical details I gave them and will forward it to developers. So far no bug report was opened at https://community.spotify.com/t5/Ongoing-Issues/idb-p/ongoing_issues.

 

82a53b1089414ba723ed9de1f42e5a3dccf04a17

Solution!

Re: Web player crashes instantly

unfein
Newbie

Another quick fix to that issue (Spotify web player crashing because wrongly loading last played song) would be to try and load any song from its html link, found on the web. Worked for me, thank you Madonna ;P

(had to hit the browser's reload button a couple of times though)

24 Replies

Re: Web player crashes instantly

SpiceMouse
Newbie

Yes, same for me using 3 different browsers. I guess it is a general issue

Re: Web player crashes instantly

McCauley
Casual Listener

the same for me.

black screen in chrome and firefox.

Re: Web player crashes instantly

geekazoid
Newbie

same here... btw are you guys sitting behind a proxy??? just checking as i'm only using the webplayer behind a proxy.

Re: Web player crashes instantly

McCauley
Casual Listener

I've tried with another account and it works fine. It's my account. 

It fails in different computers

Re: Web player crashes instantly

cdeitrick
Newbie

I am having this problem today as well.

Re: Web player crashes instantly

reggert
Newbie

Same here. It appears that it happens because https://api.spotify.com/v1/episodes/meta is returning a "400 Bad Request".

The JSON payload of the response is

{
"error" : {
"status" : 400,
"message" : "invalid id"
}
}

Re: Web player crashes instantly

mysticodex
Casual Listener

Same issue here.

 

Are we soft banned?

Re: Web player crashes instantly

leonardocvieira
Casual Listener

A just reopen my browser now and it's back! Try it again now! 

Re: Web player crashes instantly

mysticodex
Casual Listener

Yep, it's back up and running. Nice two to three-day outage we had there!

SUGGESTED POSTS