core: Google Assistant: code: 500

The problem

I think something changed As google Assistant doesn’t authenticate anymore. It just happened 15 hours ago.

The error code while updating devices. Even when restarting google assistant cant reach home assistant

Logger: homeassistant.components.google_assistant.http
Source: components/google_assistant/http.py:163
Integration: Google Assistant ([documentation](https://www.home-assistant.io/integrations/google_assistant), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+google_assistant%22))
First occurred: 11:03:41 (1 occurrences)
Last logged: 11:03:41

Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500
Logger: homeassistant.components.websocket_api.http.connection
Source: components/google_assistant/button.py:51
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 11:03:41 (1 occurrences)
Last logged: 11:03:41

[140185510324032] Unable to sync devices with result code: 500, check log for more info.
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 676, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/button/__init__.py", line 114, in _async_press_action
    await self.async_press()
  File "/usr/src/homeassistant/homeassistant/components/google_assistant/button.py", line 51, in async_press
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Unable to sync devices with result code: 500, check log for more info.

What version of Home Assistant Core has the issue?

2022.9.7

What was the last working version of Home Assistant Core?

2022.9.7

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google Assistant

Link to integration documentation on our website

https://www.home-assistant.io/integrations/google_assistant/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 52 (3 by maintainers)

Most upvoted comments

Use Home Assistant Cloud and you will never have to maintain your Google integration again + you support development of Home Assistant 👍

They are having issue on duckdns.

look here https://intodns.com/duckdns.org

all back working now

Starting yesterday I also lost connection from Google Assistant. Not sure where to start troubleshooting this. I can connect to Home Assistant just fine using my duck.dns domain name.

Same issue is happening to me.

Same problem, using duckdns. On hold for duckdns fix

Same issue here, also using duckdns.org

Absolutely a duckdns issue

My issue was resolved by replacing duckdns with using my own domain / HA Godaddy plug-in

I also had to replace all references of duckdns with my own domain on the google platform

I had two viable options to replace the duckdns plug-in .

a) my domain hosted on godaddy described above or b) cloudfare plug-in / freenom described in the video below https://youtu.be/xXAwT9N-7Hw