Search code examples
javascriptapideezer

Deezer JS API returning Location:http://www.mydomain.com.br/dz/channel.html#token|exception|unknown


im doing the software to play deezer`s songs, and im using the Deezer Javascript API.

But when i use getStatus of user there is a error:

Deezer JS API returning: Location:http://www.mydomain.com.br/dz/channel.html#token|exception|unknown

and the throw exception: Uncaught An error has occured, please retry your action

Or when i use login, the popup show the following error: "You must enter a valid redirect uri"

What i need do to fix this errors?


Solution

  • You just have to set the domain of your website, not the whole URL and it will work.