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

API update #556

Closed
tobeginbegin opened this issue Nov 22, 2024 · 6 comments
Closed

API update #556

tobeginbegin opened this issue Nov 22, 2024 · 6 comments

Comments

@tobeginbegin
Copy link

tobeginbegin commented Nov 22, 2024

Hi,

It looks like the API has updated so when I try to connect I get an API error. Looks like API V3 is deprecated. Does anyone know how to fix this? Appreciate it!

@Shughen85
Copy link

Same issue there :
2024-11-22 18:50:32 ERROR TGTG API Error: (404, b'{"type":"about:blank","title":"Not Found","status":404,"detail":"No static resource auth/v3/token/refresh.","instance":"/api/auth/v3/token/refresh"}')

Appreciate it as well ;)

@antonioli86
Copy link

Some updates here:
ahivert/tgtg-python#324

@tobeginbegin
Copy link
Author

Thanks @antonioli86! I saw that as well, but I don't know how to incorporate that into the code here. Sorry I'm not a python developer. Any pointers would be greatly appreciated.

@antonioli86
Copy link

antonioli86 commented Nov 22, 2024

At first glance seems we need to update the endpoints from v3 to v4 in these files:
https://github.com/search?q=repo%3ADer-Henning%2Ftgtg%20auth%2Fv3%2FauthByEmail&type=code

Based on this:
ahivert/tgtg-python@7bd3bbb

@Der-Henning
Copy link
Owner

I just released v1.22.0 including the api update.

@tobeginbegin
Copy link
Author

Thank you! Working again!

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

4 participants