TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC

API newbie

Discussion in 'Technical' started by perivision, Aug 30, 2018.

Tags:
  1. perivision

    perivision New Member

    Joined:
    Aug 30, 2018
    Messages:
    4
    Location:
    bay area
    I used to manage a hobby server in PHP way back in the day, so I'm pretty rusty on cURL. I took a look at the example, and using apiairy I got a 503 on my GET for a token.
    Is this example still correct? If so then I'll keep trying to figure it out.
    Thanks!
    {
    "grant_type": "password",
    "client_id": "81527cff06843c8634fdc09e8ac0abefb46ac849f38fe1e431c2ef2106796384",
    "client_secret": "c7257eb71a564034f9419ee651c7d0e5f7aa6bfbd18bafb5c5c033b093bb2fa3",
    "email": "<YOUREMAIL>",
    "password": "<YOURPASSWORD>"
    }
     
  2. morder

    morder Member

    Joined:
    Aug 30, 2018
    Messages:
    5
    Location:
    us
  3. perivision

    perivision New Member

    Joined:
    Aug 30, 2018
    Messages:
    4
    Location:
    bay area
    Looks like it was Tesla. I tried it again just using Content-Type:application/json and got a 200
     
  4. perivision

    perivision New Member

    Joined:
    Aug 30, 2018
    Messages:
    4
    Location:
    bay area
    Oh and one other change. My password has a ! in it. I changed the pass word as well.
     
  5. perivision

    perivision New Member

    Joined:
    Aug 30, 2018
    Messages:
    4
    Location:
    bay area
    ...and we are back down again. So it simply seems the Tesla servers are overloaded. Give they went down yesterday, I'm not surprised they are throttling. I'll keep trying once every few hours until it comes back.
     

Share This Page

  • About Us

    Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.
  • Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


    SUPPORT TMC