Skip to main content
Contributor I
Oct 26, 2020 8:56 PM UTC
Question

"Create Authorization Code" API returning an invalid code.

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

controlav
Lead Maestro
Oct 27, 2020 2:12 AM UTC

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

Translate
Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.