witnessmenow / spotify-api-arduino

Arduino library for integrating with the Spotify Web-API (Does not play music)
MIT License
180 stars 33 forks source link

Refresh Token update error #71

Open JustEvanB opened 1 month ago

JustEvanB commented 1 month ago

To start I'm currently on an ESP32-S2 metro, here's my steps to produce this 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 commented 1 month ago

Same here

luispl77 commented 3 weeks ago

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