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

Update documentation that some endpoints require premium #28

Open
arno4000 opened this issue May 21, 2021 · 3 comments
Open

Update documentation that some endpoints require premium #28

arno4000 opened this issue May 21, 2021 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@arno4000
Copy link

The API client is working great so far on an ESP32 TTGO T-Display. But there is one problem:

All API functions, that use the /v1/me/player endpoint fail with the following error message

Skipping to next track.../v1/me/player/next
api.spotify.com
[E][ssl_client.cpp:36] _handle_error(): [send_ssl_data():301]: (-80) UNKNOWN ERROR CODE (0050)
Failed to send request

I have tested it with my own code, but also the example at https://github.com/witnessmenow/spotify-api-arduino/blob/master/examples/esp32/playerControls/playerControls.ino.
Is this a bug or am I doing something wrong?

@witnessmenow
Copy link
Owner

witnessmenow commented May 21, 2021 via email

@arno4000
Copy link
Author

I have tried the functions in the spotify developer console and there I am getting a 403 error with the message, that premium is required. Therefore I am closing the issue. I will reopen it, when i have tested it with a premium account and the ssl error is still there.
Maybe you could add this to the readme.

@witnessmenow witnessmenow self-assigned this May 22, 2021
@witnessmenow witnessmenow added the documentation Improvements or additions to documentation label May 22, 2021
@witnessmenow
Copy link
Owner

Ah thank you. Will add some info about this to the readme

@witnessmenow witnessmenow reopened this May 22, 2021
@witnessmenow witnessmenow changed the title API requests on the /v1/me/player entpoint fail with SSL error code 0050 Update documentation that some endpoints require premium May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants