[GH-ISSUE #53] 400 Unauthorized request - totpVerExpired error #122

Closed
opened 2026-03-13 21:15:41 +03:00 by kerem · 1 comment
Owner

Originally created by @mirbehnam on GitHub (Jul 13, 2025).
Original GitHub issue: https://github.com/akashrchandran/spotify-lyrics-api/issues/53

I'm encountering a 400 Unauthorized request error when trying to use a Spotify API endpoint. Below is the response payload:

Array
(
    [totpVerExpired] => error
    [totpValidUntil] => 2025-07-13T09:00:00.000Z
    [error] => Array
        (
            [code] => 400
            [message] => Unauthorized request
            [extra] => Array
                (
                    [_notes] => Usage of this endpoint is not permitted under the Spotify Developer Terms and Developer Policy, and applicable law
                )

        )

)
Originally created by @mirbehnam on GitHub (Jul 13, 2025). Original GitHub issue: https://github.com/akashrchandran/spotify-lyrics-api/issues/53 I'm encountering a 400 Unauthorized request error when trying to use a Spotify API endpoint. Below is the response payload: ``` Array ( [totpVerExpired] => error [totpValidUntil] => 2025-07-13T09:00:00.000Z [error] => Array ( [code] => 400 [message] => Unauthorized request [extra] => Array ( [_notes] => Usage of this endpoint is not permitted under the Spotify Developer Terms and Developer Policy, and applicable law ) ) ) ```
kerem closed this issue 2026-03-13 21:15:46 +03:00
Author
Owner

@akashrchandran commented on GitHub (Jul 26, 2025):

Fixed for now

<!-- gh-comment-id:3121086479 --> @akashrchandran commented on GitHub (Jul 26, 2025): Fixed for now
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-lyrics-api#122
No description provided.