[GH-ISSUE #205] Bug with auto retry feature? #142

Closed
opened 2026-02-27 19:26:17 +03:00 by kerem · 3 comments
Owner

Originally created by @gabrielalack on GitHub (Oct 7, 2020).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/205

Looks like rate limiting is causing an error if you have auto retry enabled
Screen Shot 2020-10-07 at 2 59 05 PM

Originally created by @gabrielalack on GitHub (Oct 7, 2020). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/205 Looks like rate limiting is causing an error if you have auto retry enabled <img width="1186" alt="Screen Shot 2020-10-07 at 2 59 05 PM" src="https://user-images.githubusercontent.com/3742245/95381828-5945a400-08ae-11eb-9440-4fb6ea02ab80.png">
kerem 2026-02-27 19:26:17 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@gabrielalack commented on GitHub (Oct 7, 2020):

It appears the the correct header to access is lowercase 'retry-after'. The library is trying to access it with capitalized characters 'Retry-After'. Here is a dump of a rate limited response:
Screen Shot 2020-10-07 at 6 25 23 PM

<!-- gh-comment-id:705245106 --> @gabrielalack commented on GitHub (Oct 7, 2020): It appears the the correct header to access is lowercase 'retry-after'. The library is trying to access it with capitalized characters 'Retry-After'. Here is a dump of a rate limited response: <img width="1129" alt="Screen Shot 2020-10-07 at 6 25 23 PM" src="https://user-images.githubusercontent.com/3742245/95398114-9c157500-08ca-11eb-8319-45a5a571e4ed.png">
Author
Owner

@jwilsson commented on GitHub (Oct 8, 2020):

Hey!
Yeah, that seems to be the issue. There's a fix pending which normalizes the response headers for the next major version (4.0) in the next branch. I'm afraid I don't have an ETA on a release for it right now though.

<!-- gh-comment-id:705516708 --> @jwilsson commented on GitHub (Oct 8, 2020): Hey! Yeah, that seems to be the issue. There's a fix pending which normalizes the response headers for the next major version (`4.0`) in the `next` branch. I'm afraid I don't have an ETA on a release for it right now though.
Author
Owner

@jwilsson commented on GitHub (Oct 11, 2020):

I decided to get a small temporary fix in for it. 3.6.1 should fix the issue, let me know if it doesn't!

<!-- gh-comment-id:706656416 --> @jwilsson commented on GitHub (Oct 11, 2020): I decided to get a small temporary fix in for it. `3.6.1` should fix the issue, let me know if it doesn't!
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#142
No description provided.