Skip to content

403 error get favorites item #358

@lampje25

Description

@lampje25

When I run the "tgtg_get_favorites_item_id.py" I get a 403 error

Type your email linked to your TGTG account: mailadres@home.nl
Using version 25.6.1
Traceback (most recent call last):
File "C:\Python39\tgtg_get_favorites_item_id.py", line 4, in
from tgtg_get_tokens import tgtgClient
File "C:\Python39\tgtg_get_tokens.py", line 13, in
tgtgClient.get_credentials()
File "C:\Python39\lib\site-packages\tgtg_init_.py", line 91, in get_credentials
self.login()
File "C:\Python39\lib\site-packages\tgtg_init_.py", line 182, in login
raise TgtgLoginError(response.status_code, response.content)
tgtg.exceptions.TgtgLoginError: (403, b'{"url":"https://geo.captcha-delivery.com/interstitial/?initialCid=AHrlq..........MA2o3EttP7AtYA8qTrLg==&cid=Odh0Tl00F1ve.................9UY&referer=https%3 A%2F%2Fapptoogoodtogo.com%2Fapi%2Fauth%2Fv5%2FauthByEmail&hash=1D42C2C...............E09F294FE96F94&t=it&s=35587&e=bc0...................................."}')
Press any key to continue . . .

As a result, I get a similar error in the homeassistant log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions