Skip to content

Refresh Token update error #71

@JustEvanB

Description

@JustEvanB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions