Question

"Create Authorization Code" API returning an invalid code.

  • 26 October 2020
  • 1 reply
  • 139 views

I’m trying to authenticate with the cloud API but I’m having some issues with it…

 

On the first step where the authorization is generated, I think the code that’s returned is wrong…

 

The documentation suggests the code should be in this format: “ f10072fa6-2134-4fe1-93fd-ca5b9cffa738“, but the codes I’m getting look more like this: “69XSP3XS”…

 

When I try to use on of these codes to get a token, I get a “400 Bad Request” code with “{"error":"invalid_request"}”

 

Any ideas?


This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

1 reply

Userlevel 7
Badge +23

Go to stackoverflow and search for the Sonos tag. This isn’t the place for api discussions.