[GH-ISSUE #24] Add retries for 'temporary' errors? #11

Closed
opened 2026-02-27 19:25:36 +03:00 by kerem · 1 comment
Owner

Originally created by @vdesabou on GitHub (Jan 29, 2015).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/24

Hello,

I've observed that quite a lot of users are getting 502 (Bad Gateway) list available here errors when using my Alfred workflow

I wanted to ask you if it would not make sense to add the possibility to retry requests (with configurable retry period and max number of retries) for 429, 404, 500, 502 and 503 errors..?

Of course it can be done also when using the API. I just wanted your opinion 😄

Thanks

Originally created by @vdesabou on GitHub (Jan 29, 2015). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/24 Hello, I've observed that quite a lot of users are getting 502 (Bad Gateway) [list available here](https://developer.spotify.com/web-api/user-guide/) errors when using my [Alfred workflow](http://alfred-spotify-mini-player.com) I wanted to ask you if it would not make sense to add the possibility to retry requests (with configurable retry period and max number of retries) for 429, 404, 500, 502 and 503 errors..? Of course it can be done also when using the API. I just wanted your opinion :smile: Thanks
kerem closed this issue 2026-02-27 19:25:37 +03:00
Author
Owner

@vdesabou commented on GitHub (Jan 30, 2015):

I implemented it at my project level github.com/vdesabou/alfred-spotify-mini-player@615b775369 so I guess it is better to keep the API simple.

Closing the issue

<!-- gh-comment-id:72216309 --> @vdesabou commented on GitHub (Jan 30, 2015): I implemented it at my project level https://github.com/vdesabou/alfred-spotify-mini-player/commit/615b7753692e719aef62e19f8c5b053d698263fc so I guess it is better to keep the API simple. Closing the issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-web-api-php#11
No description provided.