mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[GH-ISSUE #205] Bug with auto retry feature? #142
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#142
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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

@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:

@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 thenextbranch. I'm afraid I don't have an ETA on a release for it right now though.@jwilsson commented on GitHub (Oct 11, 2020):
I decided to get a small temporary fix in for it.
3.6.1should fix the issue, let me know if it doesn't!