jjlawren / sonos_cloud

Sonos cloud API integration for Home Assistant with improved TTS/alerts handling
121 stars 5 forks source link

Error Play Request Failed and Error Household Request Failed #38

Open sparment opened 2 years ago

sparment commented 2 years ago

I received the following error in my HA log:

_This error originated from a custom integration.

Logger: custom_components.sonos_cloud.media_player Source: custom_components/sonos_cloud/media_player.py:147 Integration: Sonos Cloud (documentation, issues) First occurred: 7:11:04 AM (7 occurrences) Last logged: 7:25:29 AM

Play request failed (401): {"fault":{"faultstring":"Invalid Access Token","detail":{"errorcode":"keymanagement.service.invalid_accesstoken"}}}

The issue results in TTS calls to Sonos Cloud to not work.

Upon rebooting HA, I am now seeing the following error:

_Logger: custom_components.sonos_cloud Source: custom_components/sonos_cloud/init.py:78 Integration: Sonos Cloud (documentation, issues) First occurred: 8:28:54 AM (2 occurrences) Last logged: 8:29:02 AM

Household request failed (401): {"fault":{"faultstring":"Invalid Access Token","detail":{"errorcode":"keymanagement.service.invalid_accesstoken"}}}

TTS with my SONOS Clouds is no longer working.

sparment commented 1 year ago

I'm still seeing the error log regarding invalid access token. Seems to be happening daily now:

This error originated from a custom integration.

Logger: custom_components.sonos_cloud.media_player Source: custom_components/sonos_cloud/media_player.py:147 Integration: Sonos Cloud (documentation, issues) First occurred: 2:24:06 PM (1 occurrences) Last logged: 2:24:06 PM

Play request failed (401): {"fault":{"faultstring":"Invalid Access Token","detail":{"errorcode":"keymanagement.service.invalid_access_token"}}}

jcallaghan commented 1 year ago

FYI https://github.com/jjlawren/sonos_cloud/issues/39#issuecomment-1346343210