Replies: 1 comment 3 replies
-
When running on my local dev machine, adding User-agent headers seemed to cause the Tesla API calls to return successfully. |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hi,
I am running the pyhton version of the code in https://github.com/enode-engineering/tesla-oauth2/blob/main/tesla.py.
It runs perfect in my local PC pycharm, I am able to get the token and refresh token. Problem I have is when I run same .py file in my AWS EC2 ubuntu machine it never returns
session.get("https://auth.tesla.com/oauth2/v3/authorize", headers=headers, params=params)
I appeciate your feedback.
Thanks in advance - Leo.
Beta Was this translation helpful? Give feedback.
All reactions