mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[GH-ISSUE #73] ERROR: exception 'SpotifyWebAPI\SpotifyWebAPIException' with message 'Authorization code expired' in /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php:42 #39
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#39
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 @ashishbaltech on GitHub (Mar 28, 2017).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/73
I am still getting
[2017-03-28 02:46:33] production.ERROR: exception 'SpotifyWebAPI\SpotifyWebAPIException' with message 'Authorization code expired' in /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php:42
Stack trace:
#0 /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php(240): SpotifyWebAPI\Request->parseBody('{"error":"inval...', 400)
this error? Please comment on this?
Using code
@jwilsson commented on GitHub (Mar 28, 2017):
As the error message states, the authorization code has expired.
Somehow, the time between your app requesting authorization and the time your app requests an access token using the authorization code was too long. The authorization code is usually only valid for a few minutes, perhaps you're caching something somewhere or similar?
@jwilsson commented on GitHub (May 6, 2017):
Closing this due to inactivity. Please leave a comment if you need anything else!