[GH-ISSUE #190] Audio Analysis not Working #127

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

Originally created by @MadalenaSousa on GitHub (May 5, 2020).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/190

Hi!
I was trying to use the getAudioAnalysis feature and soometimes it works and sometimes I get this error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: analysis not found in ..\vendor\jwilsson\spotify-web-api-php\src\Request.php:45

I don't understand why it sometimes works and sometimes it doesn't. But this has been happening more and more frequently.What can I do? Any sugestions on what I might be doing wrong?

Here is the full error:
Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: analysis not found in ..\vendor\jwilsson\spotify-web-api-php\src\Request.php:45 Stack trace: #0 ..\vendor\jwilsson\spotify-web-api-php\src\Request.php(254): SpotifyWebAPI\Request->parseBody(Object(stdClass), 404) #1..\vendor\jwilsson\spotify-web-api-php\src\Request.php(126): SpotifyWebAPI\Request->send('GET', 'https://api.spo...', '', Array) #2 ..I\vendor\jwilsson\spotify-web-api-php\src\SpotifyWebAPI.php(76): SpotifyWebAPI\Request->api('GET', '/v1/audio-analy...', Array, Array) #3 ..\vendor\jwilsson\spotify-web-api-php\src\SpotifyWebAPI.php(713): SpotifyWebAPI\SpotifyWebAPI->sendRequest('GET', '/v1/audio-analy...') #4 ..\php\getTracksInfo.php(24): SpotifyWebAPI\SpotifyWebAPI->getAudioAnalysis('4Y6GIje3GErVRIq...') #5 {main} thrown in ..\vendor\jwilsson\spotify-web-api-php\src\Request.php on line 45

Originally created by @MadalenaSousa on GitHub (May 5, 2020). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/190 Hi! I was trying to use the getAudioAnalysis feature and soometimes it works and sometimes I get this error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: analysis not found in ..\vendor\jwilsson\spotify-web-api-php\src\Request.php:45 I don't understand why it sometimes works and sometimes it doesn't. But this has been happening more and more frequently.What can I do? Any sugestions on what I might be doing wrong? Here is the full error: Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: analysis not found in ..\vendor\jwilsson\spotify-web-api-php\src\Request.php:45 Stack trace: #0 ..\vendor\jwilsson\spotify-web-api-php\src\Request.php(254): SpotifyWebAPI\Request->parseBody(Object(stdClass), 404) #1..\vendor\jwilsson\spotify-web-api-php\src\Request.php(126): SpotifyWebAPI\Request->send('GET', 'https://api.spo...', '', Array) #2 ..I\vendor\jwilsson\spotify-web-api-php\src\SpotifyWebAPI.php(76): SpotifyWebAPI\Request->api('GET', '/v1/audio-analy...', Array, Array) #3 ..\vendor\jwilsson\spotify-web-api-php\src\SpotifyWebAPI.php(713): SpotifyWebAPI\SpotifyWebAPI->sendRequest('GET', '/v1/audio-analy...') #4 ..\php\getTracksInfo.php(24): SpotifyWebAPI\SpotifyWebAPI->getAudioAnalysis('4Y6GIje3GErVRIq...') #5 {main} thrown in ..\vendor\jwilsson\spotify-web-api-php\src\Request.php on line 45
kerem closed this issue 2026-02-27 19:26:13 +03:00
Author
Owner

@jwilsson commented on GitHub (May 5, 2020):

Hey!
It seems like this is an issue on Spotify's end, https://github.com/spotify/web-api/issues/1570.

<!-- gh-comment-id:623999016 --> @jwilsson commented on GitHub (May 5, 2020): Hey! It seems like this is an issue on Spotify's end, https://github.com/spotify/web-api/issues/1570.
Author
Owner

@MadalenaSousa commented on GitHub (May 5, 2020):

Hum, ok, thank you!

<!-- gh-comment-id:624006274 --> @MadalenaSousa commented on GitHub (May 5, 2020): Hum, ok, thank you!
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#127
No description provided.