An Error has occurred (bad request) when using postman #286
-
I must be missing something obvious, but I have not figured out what it its. I created my code challenge using swift:
Which produced a challenge String: "OWNmMjc5MGQzY2M1NGUyZTRmOThkZGVhZjliZTNiNzVkM2YyMGZiZmUyYjg2NGE1ZmY0MTQyZDE0NjM5N2Q0Ng==" Which I used to create my postman request with the following headers:
When I send this requests with Postman to the URL https://auth.tesla.com/oauth2/v3/authorize I receive a 400 error (Bad request) Is there something I am misunderstanding regarding creating my challenge string? or the way I'm formatting my request? TIA for the assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi, I'm also trying to use postman to try and navigate this new landscape. It's a good visual middleman. I got step 1 to work. Try removing the padding "==" from your code_challenge and see if that does the trick. Otherwise I'd have to see your postman setup |
Beta Was this translation helpful? Give feedback.
Hi, I'm also trying to use postman to try and navigate this new landscape. It's a good visual middleman.
I got step 1 to work. Try removing the padding "==" from your code_challenge and see if that does the trick. Otherwise I'd have to see your postman setup