-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hi there, I have been trouble by this exception I cant decifrate:
I have the package working on one project, but on another one, with the same structure, I keep having this same issue. Can you help me figure it out?
Traceback (most recent call last):
Menu
File "/opt/render/project/src/.venv/lib/python3.10/site-packages/fusion_solar_py/client.py", line 185, in wrapper
result = func(self, *args, **kwargs)
File "/opt/render/project/src/.venv/lib/python3.10/site-packages/fusion_solar_py/client.py", line 402, in _login
raise CaptchaRequiredException("Login failed: Incorrect verification code.")
fusion_solar_py.exceptions.CaptchaRequiredException: Login failed: Incorrect verification code.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/render/project/src/app.py", line 1042, in process_account
client = get_or_create_client(account)
File "/opt/render/project/src/app.py", line 896, in get_or_create_client
client = FusionSolarClient(USER, PASSWORD, **client_kwargs)
File "/opt/render/project/src/.venv/lib/python3.10/site-packages/fusion_solar_py/client.py", line 256, in init
self._configure_session()
File "/opt/render/project/src/.venv/lib/python3.10/site-packages/fusion_solar_py/client.py", line 416, in _configure_session
self._login()
File "/opt/render/project/src/.venv/lib/python3.10/site-packages/fusion_solar_py/client.py", line 195, in wrapper
raise AuthenticationException("Login failed: Captcha required but captcha not found.")
fusion_solar_py.exceptions.AuthenticationException: Login failed: Captcha required but captcha not found.