Open hidebook opened 4 years ago
and when I open the page https://localhost:5050 or http://localhost:5050 there is an Amazon error page and it says:
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
client_id=amzn1.application-oa2-client.4fea7cfc27074f09ae2a9cbc24942019
scope=alexa%3Aall
scope_data=%7B%22alexa%3Aall%22%3A+%7B%22productID%22%3A+%22AlexaPi%22%2C+%22productInstanceAttributes%22%3A+%7B%22deviceSerialNumber%22%3A+%223392a7ef74e3085c6f910e00820f307dcef3e16a3851c95d7aa7522aae14bb6e%22%7D%7D%7D
response_type=code
redirect_uri=http%3A%2F%2Flocalhost%3A5050%2Fcode
What should I do?
Are you trying to connect from another computer, or in the same machine that AlexaPi is installed? Did u open the page before closing the script? You have to access the address "HTTP://YOUR.IP.ADD.RESS:5050 before closing the script. You only close the script in the terminal after the page in your browser tells you to do so.
hello i was using a tutorial to install AlexaPi and when i entered
sudo systemctl status AlexaPi.service
it came up with