Coder Social home page Coder Social logo

404 Errors about tesla-api HOT 7 CLOSED

timdorr avatar timdorr commented on August 19, 2024
404 Errors

from tesla-api.

Comments (7)

timdorr avatar timdorr commented on August 19, 2024

You probably have the wrong URL. What URL are you attempting to access?

from tesla-api.

allante2 avatar allante2 commented on August 19, 2024

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.

timdorr avatar timdorr commented on August 19, 2024

That isn't the correct URL at all. They should be under https://owner-api.teslamotors.com/api/1/

from tesla-api.

allante2 avatar allante2 commented on August 19, 2024

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.

timdorr avatar timdorr commented on August 19, 2024

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.

allante2 avatar allante2 commented on August 19, 2024

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.

arrayaddu avatar arrayaddu commented on August 19, 2024

@allante2 Have you got API working on production mode, i am getting the same error

from tesla-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.