Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred accessing AlexaAPI: An exception of type TypeError occurred. Arguments: ('can only concatenate str (not "NoneType") to str',) #2598

Closed
StefanoGiu opened this issue Oct 7, 2024 · 2 comments

Comments

@StefanoGiu
Copy link

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.

Describe the bug

2024-10-07 13:03:12.232 WARNING (MainThread) [alexapy.helpers] alexalogin.login((<alexapy.alexalogin.AlexaLogin object at 0x7f393e9c6480>,), {'cookies': {}}): An error occurred accessing AlexaAPI: An exception of type TypeError occurred. Arguments:
('can only concatenate str (not "NoneType") to str',)

The integration is not working since months... it authenticates properly, but then it requires re-authentication. I have the latest version of HA and of this component.

Please fix this!

To Reproduce

Wait the component to disconnect, try to re-authenticate

Expected behavior

Screenshots

System details

  • Home Assistant version: 2024.10.0
  • alexa_media version (from const.py or HA startup log): 4.13.4
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log): 1.29.2
  • Is Amazon 2FA/2SV enabled <!---We will not debug login issues if unanswered---> (y/n): y
  • Amazon Domain: amazon.it

Debug Logs (alexa_media & alexapy)
Please provide logs.

Additional context

@danielbrunt57
Copy link
Collaborator

Duplicate issue #2515

@cagnulein
Copy link

@StefanoGiu did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants