Skip to main content
← Data, API & Backend
Data, API & Backend January 31, 2022 · 2 replies

Spotify API problems

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

I am trying to get the Spotify login example app to work, but with no success.

I had problems with login for the Spotify OAuth, but could get a test running when putting a few test user accounts in the Spotify Dev Dashboard. If you don't do this, it will give the following error:

"422: Error 422: . Unable to fetch user info: User not registered in the Developer Dashboard"

I couldn't log in with Facebook, because Facebook told me that I couldn't log in, because of "safety reasons". Does this only happen because of a configuration error or because it's a Development App?

Also, I would like to know if it will be possible to get a list of my spotify playlists inside of my Bravo app and if I will be able to have the user choose one playlist and then control the playback with a Play/Pause button.

If so, would it be possible to have the playback continue through different app screens? Like, start playback at Screen A, then going through a few other screens B, C, D and then make it possible to end playback at screen E, all while the track kept playing?

2 replies

Diego Iglesias Bravo team January 31, 2022

Hello Marvin,

Regarding the 422 error, Spotify forces to add one by one the emails that can authenticate when testing. You should add your email in the developer Spotify dashboard. 

About listing your playlists, you can check the endpoints here: https://developer.spotify.com/console/playlists/

To control the playback, you can use this endpoint: https://developer.spotify.com/console/put-play/

It is not possible at the moment to continue playing through different app screens, although you can add a feature request here! https://trello.com/c/uyfAAiOg/81-%F0%9F%8E%B5-more-audio-features

Hope you find this helpful!

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord