Replies: 1 comment
-
Hi, strange: i installed HA 2024.10.2 (on a 2024.9.x) and now it works without any change |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TGTG was working since a long time but now i get an error:
Traceback (most recent call last):
File "C:/Users/phil/PycharmProjects/toogoodtogo/tgtg_get_favorites_item_id.py", line 14, in
tgtgReply = tgtgClient.get_items()
File "C:\Users\phil\PycharmProjects\toogoodtogo\venv\lib\site-packages\tgtg_init_.py", line 274, in get_items
raise TgtgAPIError(response.status_code, response.content)
tgtg.exceptions.TgtgAPIError: (403, b'{"url":"**https://geo.captcha-delivery.com/captcha/**?**initialCid=AHrlqAAAAAMAgbJ8FuT6tbkAbYJXvg==&cid=2tfoL6EfF8wmqo8hWRGO~AlUVYUdHl9aLECYrNmfy3lZb_LUSRLMcuBiHZPtW4~g57i0DyQ7QTKe0sj_VfEb~apxv8NrE2dT~ikTGt8UuYn4F070fzRV8xpYVloCyy0n&referer=https%3A%2F%2Fapptoogoodtogo.com%2Fapi%2Fitem%2Fv8%2F&hash=1D42C2CA6131C526E09F294FE96F94&t=fe&s=35558&e=c88834d0614e3bfedb4f876c853ef80a6ae3faa5be3152ee73be95cba36c4eba"}')
Any idea ?
thanks in advance
below the same error from HA journal:
Error while setting up tgtg platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tgtg/sensor.py", line 83, in setup_platform
tgtgReply = tgtg_client.get_items()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tgtg/init.py", line 244, in get_items
self.login()
File "/usr/local/lib/python3.12/site-packages/tgtg/init.py", line 153, in login
self._refresh_token()
File "/usr/local/lib/python3.12/site-packages/tgtg/init.py", line 139, in _refresh_token
raise TgtgAPIError(response.status_code, response.content)
tgtg.exceptions.TgtgAPIError: (403, b'{"url":"https://geo.captcha-delivery.com/captcha/?initialCid=AHrlqAAAAAMAIIKiBEQdqq8AbYJXvg==&cid=TV553ali37ffTG9NT4IXOa8c3BbJ2qG9xY0s1y4LVLY66euAjrjsGDNZU5IGiBffRCo3H9odhXwJwNnlu0H_GaxKgHDjOQ9PXPpF1u48FC2SYCGFeO7_1qeViXIAL58f&referer=https%3A%2F%2Fapptoogoodtogo.com%2Fapi%2Fauth%2Fv3%2Ftoken%2Frefresh&hash=1D42C2CA6131C526E09F294FE96F94&t=fe&s=35558&e=cb0c790d56f562aa634a1eb76d8be8daad765dc7e8bfb86bfadc31a64b3bd6b2"}')
Beta Was this translation helpful? Give feedback.
All reactions