Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh Token update error #71

Open
JustEvanB opened this issue Jul 28, 2024 · 2 comments
Open

Refresh Token update error #71

JustEvanB opened this issue Jul 28, 2024 · 2 comments

Comments

@JustEvanB
Copy link

To start I'm currently on an ESP32-S2 metro, here's my steps to produce this error:

  • Get refresh token: use the example template, got refresh code:
    AQXXX-XXXX...
  • Open get current playing track example, change ssid, password, clientId, clientSecret, and spotify_refresh_token
  • flash board
  • Now in serial it shows the following error:

Free Heap: 133608
getting currently playing song:
/v1/me/player/currently-playing?additional_types=episode&market=CA
stack size -1073573279
Refresh of the Access token is due, doing that now.
grant_type=refresh_token&refresh_token=AQXXXXXXXXXXXXXXXX&client_id=cb4XXXXXXXXXX&client_secret=3d9XXXXXXXXXXX
stack size -1073572751
accounts.spotify.com
Status: HTTP/1.0 200 OK
HTTP Version: HTTP/1.0
Status Code: 200
status Code200
No JSON error, dealing with response
Problem with access_token (too long or null): BQDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Failed to send request
Status Code: -2
stack size -1073573279
Error: -2

also noticed that the "updated" token is ~30 characters longer

@Alone1206
Copy link

Same here

@luispl77
Copy link

luispl77 commented Aug 20, 2024

Same here, I cannot get the new token to work... Sudenly the older refresh token stoped working, and now the new ones just dont work

edit: started working again... somehow, because I was using a static IP it wasnt working? when I changed that code on the esp8266 , it started working. I have no clue why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants