--- http_interactions: - request: method: get uri: https://owner-api.teslamotors.com/api/1/vehicles body: encoding: US-ASCII string: '' headers: User-Agent: - github.com/timdorr/tesla-api v:1.3.0 Authorization: - Bearer response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 11 Dec 2018 04:01:43 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '659' Connection: - keep-alive X-Frame-Options: - SAMEORIGIN - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Txid: - c21a79d3bc8fbefa118a466bd7841dbb Etag: - W/"0b0233c8e9ab2c7fcdba390a757e034a" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - d7a6f72b-9737-4697-8240-5fb746579067 X-Runtime: - '0.018695' body: encoding: UTF-8 string: '{"response":[{"id":19298251174317440,"vehicle_id":1817902171,"vin":"5YJSA1E41GF167745","display_name":"Nikola 2.0","option_codes":"MDLS,RENA,AF02,APF1,APH2,APPB,AU01,BC0R,BP00,BR00,BS00,CDM0,CH05,PBCW,CW00,DCF0,DRLH,DSH7,DV4W,FG02,FR04,HP00,IDBA,IX01,LP01,ME02,MI01,PF01,PI01,PK00,PS01,PX00,PX4D,QTVB,RFP2,SC01,SP00,SR01,SU01,TM00,TP03,TR00,UTAB,WTAS,X001,X003,X007,X011,X013,X021,X024,X027,X028,X031,X037,X040,X044,YFFC,COUS","color":null,"tokens":["921c1c9a2f2b479a","08f5098517a10231"],"state":"online","in_service":false,"id_s":"19298251174317440","calendar_enabled":true,"api_version":4,"backseat_token":null,"backseat_token_updated_at":null}],"count":1}' http_version: recorded_at: Tue, 11 Dec 2018 04:01:43 GMT - request: method: get uri: https://owner-api.teslamotors.com/api/1/vehicles/19298251174317440/nearby_charging_sites body: encoding: US-ASCII string: '' headers: User-Agent: - github.com/timdorr/tesla-api v:1.3.0 Authorization: - Bearer response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Tue, 11 Dec 2018 04:01:44 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '67' Connection: - keep-alive X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Cache-Control: - no-cache X-Request-Id: - e01a24c4-d7b3-445e-a628-3f37c8bc1cfb X-Runtime: - '0.185555' body: encoding: UTF-8 string: '{"response":null,"error":"invalid_endpoint","error_description":""}' http_version: recorded_at: Tue, 11 Dec 2018 04:01:44 GMT recorded_with: VCR 4.0.0