CJNE / pyporscheconnectapi

Python client library for Porsche Connect API
MIT License
44 stars 9 forks source link

Fix error field #25

Closed andig closed 1 year ago

andig commented 1 year ago

Hitting this with

{'statusCode': 401, 'description': 'Invalid captcha value', 'name': 'invalid_captcha', 'code': 'invalid_captcha'}

Apart from the error message- no idea how to proceed at this stage?

CJNE commented 1 year ago

Oh, I haven't had that error, I guess the auth system suspects something fishy. Perhaps try to log in normally using a web browser and fill in the captcha? Not a long term solution if this can happen at random but might get you running again...

I believe the response message looks differently for the captcha compared to invalid login, need to verify that before merge.

andig commented 1 year ago

Thank you, updated as suggested.