Live Spotify Album Art Display

I have been working on the Live Spotify Album Art Display project [https://learn.sparkfun.com/tutorials/li … t-display/] but I have been unsuccessful in getting it to work.

My code is identical to the given code with the following exceptions:

  • My settings.h is updated with the proper values for ssid, password, clientId, and clientSecret (as outlined in the instructions).

  • I have included “client.setInsecure();” lines before all 3 of the “client.connect(host, port);” in SpotifyClient.cpp

When I run the program, I am able to access the IP address of my ESP32, which causes it to go to the callback URL as intended, but then it gets stuck in a loop of error 400 Bad Requests shown in the screenshot attached. Any help on this would be greatly appreciated.

SpotifyClient.cpp (14.8 KB)

I think you’d better upload the given code first. It will clarify whether there is a problem with the ESP32 board or not.

The SpotifyClient.cpp file is uploaded here, but the rest of the files (Spotify-Album-Display.ino, SpotifyClient.h, settings.h, and all the necessary zip files for libraries) are at https://learn.sparkfun.com/tutorials/li … t-display/

The issue appears to be that the refresh token and access tokens are never set. I do not have the experience to know how to fix this though

did you figure out the issue?