leikoilja / ha-google-home

Home Assistant Google Home custom component
MIT License
431 stars 73 forks source link

Unable to login #862

Closed guberm closed 5 months ago

guberm commented 5 months ago

Describe the bug

Getting the error: Master token invalid. Make sure that the full token has been specified (including 'aas_et/')

Version of the integration

If you are unsure about the version check the github release here.

1.11

Logs

2024-04-26 17:48:40.188 ERROR (MainThread) [glocaltokens.client] master_token doesn't follow the AAS_ET format
2024-04-26 17:48:40.472 ERROR (SyncWorker_62) [glocaltokens.client] [!] Could not get access token.
2024-04-26 17:48:40.473 ERROR (MainThread) [custom_components.google_home]
2024-04-26 17:49:17.420 ERROR (MainThread) [glocaltokens.client] master_token doesn't follow the AAS_ET format
2024-04-26 17:49:17.664 ERROR (SyncWorker_35) [glocaltokens.client] [!] Could not get access token.
2024-04-26 17:49:17.665 ERROR (MainThread) [custom_components.google_home]
2024-04-26 17:53:25.784 DEBUG (MainThread) [glocaltokens.client] Initializing new GLocalAuthenticationTokens instance.
2024-04-26 17:53:25.784 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client access_token, homegraph, access_token_date and homegraph_date to None
2024-04-26 17:53:25.784 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client username to "", password to "", master_token to "5*****" and android_id to
2024-04-26 17:53:25.784 ERROR (MainThread) [glocaltokens.client] master_token doesn't follow the AAS_ET format
2024-04-26 17:53:25.785 DEBUG (SyncWorker_47) [glocaltokens.client] There is no access_token stored, or it has expired, getting a new one...
2024-04-26 17:53:25.785 DEBUG (SyncWorker_47) [glocaltokens.client] Master token: 5*****
2024-04-26 17:53:25.785 DEBUG (SyncWorker_47) [glocaltokens.client] There is no stored android_id, generating a new one
2024-04-26 17:53:25.785 DEBUG (SyncWorker_47) [glocaltokens.client] Generating android id...
2024-04-26 17:53:25.785 DEBUG (SyncWorker_47) [glocaltokens.client] Generated android id: 8b42c40cc09dca50
2024-04-26 17:53:26.066 ERROR (SyncWorker_47) [glocaltokens.client] [!] Could not get access token.
2024-04-26 17:53:26.067 DEBUG (SyncWorker_47) [glocaltokens.client] Request response: {'Error': 'BadAuthentication'}
2024-04-26 17:53:26.068 ERROR (MainThread) [custom_components.google_home]
leikoilja commented 5 months ago

From the error message, it seems that you are entering your password in the field for master token. That is not going to work. Please follow README to get the master token first and then use that for integration :)