mike-grant / haaska

Home Assistant Alexa Skill Adapter that supports v3 of the Alexa Smart Home Skill API
MIT License
539 stars 118 forks source link

"errorMessage": "404 Client Error: Not Found for url: https://xxxxx.duckdns.org/api/alexa/smart_home", #216

Open BoerZA opened 3 years ago

BoerZA commented 3 years ago

Could any one possibly assist with some help.

My haaska test keeps failing and want to intergrade Alexa into my home assistant.

Version: Home Assistant 2021.6.3

Error.

{ "errorMessage": "404 Client Error: Not Found for url: https://xxxxxx.duckdns.org/api/alexa/smart_home", "errorType": "HTTPError", "stackTrace": [ [ "/var/task/haaska.py", 111, "event_handler", "return ha.post('alexa/smart_home', event, wait=True)" ], [ "/var/task/haaska.py", 66, "post", "r.raise_for_status()" ], [ "/var/task/requests/models.py", 940, "raise_for_status", "raise HTTPError(http_error_msg, response=self)" ] ] }

mike-grant commented 3 years ago

Do you have something similar to the configuration mentioned here in your Home Assistant configuration?

deftdawg commented 2 years ago

I had a problem like this where /api/alexa/smart_home gave a 404.

At some point, my alexa: config got indented underneath api: and that prevented the Alexa service from being deployed... something to watch out for - home assistant config validator won't tell you this is incorrect.

i.e. I mistakenly had:

api:
  alexa:
    smart_home:

But I should have had this:

api:
alexa:
   smart_home: