Replies: 2 comments 1 reply
-
The library currently (if you installed it via Gem) sends a user-agent, which causes Tesla's server to not respond. You'll need to take that user agent out. I'm a newbie in Ruby, so I'm not sure how to properly prevent the library from sending that header; I understand that you just need to provide it with a parameter but I don't have a sample to provide. Hopefully someone will chime in with a proper example. What I did is overwrite the client.rb file from the library with the latest code here on GitHub. |
Beta Was this translation helpful? Give feedback.
-
Also, where did you get that client_id and client_secret? |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I was trying to run the example code but getting network timeout. I am not certain if I am passing correct client information. Any thoughts/suggestions?
Beta Was this translation helpful? Give feedback.
All reactions