[GH-ISSUE #282] Bug in >getGenreSeeds() #209

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

Originally created by @zwisler on GitHub (Jan 9, 2025).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/282

I have the folling Isue:

Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: An unknown error occurred. in /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php:62 Stack trace: #0 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php(251): SpotifyWebAPI\Request->handleResponseError() #1 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php(139): SpotifyWebAPI\Request->send() #2 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php(122): SpotifyWebAPI\Request->api() #3 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php(1088): SpotifyWebAPI\SpotifyWebAPI->sendRequest() #4 /homepages/34/d680223326/htdocs/vendor/CitWebApi/CitaurusWebAPI.php(1557): SpotifyWebAPI\SpotifyWebAPI->getGenreSeeds() #5 /homepages/34/d680223326/htdocs/AddPlaylist.php(16): CitaurusMusicWebAPI->GetGenres() #6 {main} thrown in /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php on line 62

Originally created by @zwisler on GitHub (Jan 9, 2025). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/282 I have the folling Isue: Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: An unknown error occurred. in /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php:62 Stack trace: #0 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php(251): SpotifyWebAPI\Request->handleResponseError() #1 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php(139): SpotifyWebAPI\Request->send() #2 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php(122): SpotifyWebAPI\Request->api() #3 /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php(1088): SpotifyWebAPI\SpotifyWebAPI->sendRequest() #4 /homepages/34/d680223326/htdocs/vendor/CitWebApi/CitaurusWebAPI.php(1557): SpotifyWebAPI\SpotifyWebAPI->getGenreSeeds() #5 /homepages/34/d680223326/htdocs/AddPlaylist.php(16): CitaurusMusicWebAPI->GetGenres() #6 {main} thrown in /homepages/34/d680223326/htdocs/vendor/jwilsson/spotify-web-api-php/src/Request.php on line 62
kerem closed this issue 2026-02-27 19:26:36 +03:00
Author
Owner

@jwilsson commented on GitHub (Jan 13, 2025):

I think you're getting hit by changes made by Spotify, I get the same result when trying with a new app but not an older one.

The endpoint is also marked as deprecated on their end but I haven't had the time to update the docs here yet.

<!-- gh-comment-id:2587616403 --> @jwilsson commented on GitHub (Jan 13, 2025): I think you're getting hit by [changes made by Spotify](https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api), I get the same result when trying with a new app but not an older one. [The endpoint](https://developer.spotify.com/documentation/web-api/reference/get-recommendation-genres) is also marked as deprecated on their end but I haven't had the time to update the docs here yet.
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#209
No description provided.