mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[GH-ISSUE #261] Error: Forbidden Your client does not have permission to get URL /v1/me/player/recently-played/ from this server. #188
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#188
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 @StefSchalks on GitHub (Apr 13, 2023).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/261
Hi,
I'm getting the following error while making requests using this package:
Your client does not have permission to get URL /v1/me/player/recently-played/ from this server.My tokens are refreshing and the access tokens are valid.
Does anyone know what could be the problem?
Kind Regards,
Stef
@jwilsson commented on GitHub (Apr 14, 2023):
Hey!
I've seen this issue before and that time it solved itself after a few days. I think it's related to the IP you're connecting from being blocked by Google (Spotify uses GCP), have you tried from a different network/server?
@Xemaro commented on GitHub (Apr 17, 2023):
Same problem here, since two weeks approximately. I checked with two different computers and my smartphone, on many days and with different networks (Wi-Fi, 4g, even with and without a VPN), I even tried to rotate my client secret, nothing seems to change.
I can bring a new information : it seems to be random, in some cases the request works and gives back the answer (for example, for the
/me/tracksrequest, I sometimes receive the forbidden error when theoffsetendpoint is at50, sometimes250, etc. (the highest I reached was600).@StefSchalks commented on GitHub (Apr 18, 2023):
@jwilsson I think this is true indeed, used a different server and now it works fine again with exactly the same code.
@Xemaro, I would suggest you'd try to use a different server (
localhostfor example) just to test if this is the same problem as I had.