I follow this site : http://wiki.seeedstudio.com/ReSpeaker_Core_v2.0/
and I faced a problem while doing 3.2 Get Authorization of AVS
Am I wrong client id, product id or clientsecret?
Help me plz!
The refresh request failed with the response code 400. This might be due to a bad refresh token or bad client data. We will continue with getting a refresh token, discarding the one in the file.
- Serving Flask app “AuthServer” (lazy loading)
- Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
- Debug mode: off
- Running on http://127.0.0.1:3000/ (Press CTRL+C to quit)
----
and I saw this page when i open this link : http://127.0.0.1:3000/
We’re sorry!
An error occurred when we tried to process your request. Rest assured, we’re already working on the problem and expect to resolve it shortly.
Hide Details
Error Summary
400 Bad Request
The redirect URI you provided has not been whitelisted for your application. Please add your redirect URI in the ‘Allowed Return URLs’ section under ‘Web Settings’ for your Security Profile on Amazon Developer Portal.
Request Details
scope=alexa%3Aall
redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauthresponse
response_type=code
client_id=amzn1.application-oa2-client.48818436388a487f889497b6ada241e5
scope_data=%7B%22alexa%3Aall%22%3A%7B%22productID%22%3A%22AIspeaker%22%2C%22productInstanceAttributes%22%3A%7B%22deviceSerialNumber%22%3A%22123456%22%7D%7D%7D