mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[GH-ISSUE #190] Audio Analysis not Working #127
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#127
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 @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
@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.
@MadalenaSousa commented on GitHub (May 5, 2020):
Hum, ok, thank you!