Replies: 1 comment
-
Hey @KobiAms You don't need to replace the About a new prop to handle Spotify API errors, I'm not planning to add something like this right now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Gil.
I managing the songs queue locally, so I simply replace the uris object when song is ended.
I notice that the api/.../play endpoint not too much stable and sometimes returns a 502 Bad gateway http error.
I'm guessing its due to load on Spotify servers.
It is possible please to add an onError prop to the player that invoked when an error occurred so I can invoked the request again? or maybe a "retry" policy?
Any other suggestion that deals with api errors will be great.
BTW, the last update which exposed the player and api is really great! thank you.
found that in the wild: https://community.spotify.com/t5/Spotify-for-Developers/Web-API-502-error-on-me-player-play-for-a-short-period-after/m-p/5400268
Beta Was this translation helpful? Give feedback.
All reactions