[GH-ISSUE #281] Random 403 error #208

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

Originally created by @danivanderbeek on GitHub (Dec 2, 2024).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/281

When trying to run some tracks through the API, everything works OK until using the getAudioFeatures function. Then it will always return a 403, without message.

First I start with the "search" endpoint, getting an ID, and feeding the getAudioFeatures, but 403. This is since last week or so. Am I missing something here?

PHP Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: {\n "error" : {\n "status" : 403\n }\n} in \vendor\jwilsson\spotify-web-api-php\src\Request.php:59\nStack trace:\n#0

I also tried with getMultipleAudioFeatures by feeding an array, same issue. Running PHP 8.1.

Originally created by @danivanderbeek on GitHub (Dec 2, 2024). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/281 When trying to run some tracks through the API, everything works OK until using the getAudioFeatures function. Then it will always return a 403, without message. First I start with the "search" endpoint, getting an ID, and feeding the getAudioFeatures, but 403. This is since last week or so. Am I missing something here? PHP Fatal error: Uncaught SpotifyWebAPI\\SpotifyWebAPIException: {\n "error" : {\n "status" : 403\n }\n} in \vendor\\jwilsson\\spotify-web-api-php\\src\\Request.php:59\nStack trace:\n#0 I also tried with getMultipleAudioFeatures by feeding an array, same issue. Running PHP 8.1.
kerem closed this issue 2026-02-27 19:26:36 +03:00
Author
Owner

@xaviermarchegay commented on GitHub (Dec 2, 2024):

https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api

<!-- gh-comment-id:2511523049 --> @xaviermarchegay commented on GitHub (Dec 2, 2024): https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api
Author
Owner

@danivanderbeek commented on GitHub (Dec 2, 2024):

Ok. Missed that one. So now it's only possible to get this information with an Extended quota mode (or accepted by Spotify) - api?

<!-- gh-comment-id:2511532555 --> @danivanderbeek commented on GitHub (Dec 2, 2024): Ok. Missed that one. So now it's only possible to get this information with an Extended quota mode (or accepted by Spotify) - api?
Author
Owner

@xaviermarchegay commented on GitHub (Dec 2, 2024):

That is what they say. My app is in devopment mode and I don't need those endpoints so I cannot say that for sure.

<!-- gh-comment-id:2511552835 --> @xaviermarchegay commented on GitHub (Dec 2, 2024): That is what they say. My app is in devopment mode and I don't need those endpoints so I cannot say that for sure.
Author
Owner

@danivanderbeek commented on GitHub (Dec 2, 2024):

That's a bummer.... Now I need to see how I can convince them to approve my project, which I somehow don't see happening because it's not public.

<!-- gh-comment-id:2511559569 --> @danivanderbeek commented on GitHub (Dec 2, 2024): That's a bummer.... Now I need to see how I can convince them to approve my project, which I somehow don't see happening because it's not public.
Author
Owner

@jwilsson commented on GitHub (Apr 18, 2025):

Closing this since I also think it's due to the changes made by Spotify in November 2024 and there's nothing to do from this end.

<!-- gh-comment-id:2815003669 --> @jwilsson commented on GitHub (Apr 18, 2025): Closing this since I also think it's due to the changes made by Spotify in November 2024 and there's nothing to do from this end.
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#208
No description provided.