Comments (7)
You probably have the wrong URL. What URL are you attempting to access?
from tesla-api.
I am using http://docs.timdorr.apiary.io/#, which is captioned "Tesla Model S JSON API." Does a different URL exist for the Model X? I am able to get tokens and my vehicle id, however.
from tesla-api.
That isn't the correct URL at all. They should be under https://owner-api.teslamotors.com/api/1/
from tesla-api.
Sorry for the confusion Tim, yes, that is the URL I am using. So for charge stage, I am using https://owner-api.teslamotors.com/api/1/vehicles/vehicle_id/data_request/charge_state.
from tesla-api.
It should definitely be the id
field: https://github.com/timdorr/model-s-api/blob/master/lib/tesla_api/vehicle.rb#L147 Make sure you're also including the correct Authorization header. That's all I can think of.
from tesla-api.
Thanks. I have used both the Id and vehicle_id codes, but both result in 404s. I know that my token works, because I used that in my auth header to get the vehicle id codes. Can't figure out why all of the calls fail.
from tesla-api.
@allante2 Have you got API working on production mode, i am getting the same error
from tesla-api.
Related Issues (20)
- "data_request" endpoints appear to have been removed by Tesla HOT 5
- Battery capacity and health
- How to call `mobile-app/*` endpoints? HOT 3
- in `login!': undefined method `split' for nil:NilClass (NoMethodError) HOT 2
- display_name is no longer part of vehicle_data response HOT 2
- Charger occupancy
- 403 during token refresh only on docker
- HTTP Error: 403 Client Error: Forbidden for url: https://auth.tesla.com/oauth2/v3/authorize
- 403 status code on http://auth. tesla.com/oauth2/v3/authorize.. after entering email HOT 1
- "/api/1/energy_sites/{site_id}/calendar_history" API does not work when kind=energy
- Should `tesla-api` gem provide a default `retry_options`? HOT 1
- Error when try to login to tesla.com
- Endpoint `/api/1/vehicles` returns only 100 records HOT 1
- Powerwall API changes orphan downstream home assistant projects HOT 3
- Owner API will stop working as vehicles begin requiring end-to-end command authentication in 2024 HOT 22
- Is Apple removing Tesla third party apps? HOT 1
- Charge invoice PDFs HOT 2
- OpenAPI Specification HOT 1
- Tesla Signaling/Hermes Protocol to send vehicle commands
- Climate not possible with low soc HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesla-api.