Bad Gateway / Forbidden error
See original GitHub issueHi! I was trying to setup this integration but I can’t get it to work. I keep getting Bad Gateway / Forbidden errors. When I log in to the Skoda Connect portal everything works, so my credentials are correct. This is my config:
I’m running Home Assistant version: 2020.12.0 SkodaConnect integration version: 1.0.27
skodaconnect:
username: !secret skoda_username
password: !secret skoda_password
scandinavian_miles: false
imperial_units: false
scan_interval:
minutes: 5
And this is the errorlog:
Could not fetch tripstatistics, error: 403, message='Forbidden', url=URL('https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBAP9NE6xxxxxx/tripdata/shortTerm?newest')
Could not fetch StoredVehicleDataResponse, error: 502, message='Bad Gateway', url=URL('https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBAP9NE6xxxxxx/status')
Could not fetch position (ClientResponseError), error: 502, message='Bad Gateway', url=URL('https://msg.volkswagen.de/fs-car/bs/cf/v1/skoda/CZ/vehicles/TMBAP9NE6xxxxxx/position')
I tried with and without the S-PIN and also resetted the S-PIN as well as the password for my account. What am I missing?
Thank you in advance!
Jeffrey
Issue Analytics
- State:
- Created 3 years ago
- Comments:68 (5 by maintainers)
Top Results From Across the Web
502 Bad Gateway Error: What It Is and How to Fix It - Lifewire
The 502 Bad Gateway error is an HTTP status code that means that one server on the internet received an invalid response from...
Read more >What Is a 403 Forbidden Error (and How Can I Fix It)?
A 403 Forbidden Error occurs when you do not have permission to access a web page or something else on a web server....
Read more >502 Bad Gateway - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 502 Bad Gateway server error response code indicates that the server, while acting as a gateway or proxy, ......
Read more >Troubleshoot HTTP 403 errors from API Gateway - Amazon AWS
An HTTP 403 response code means that a client is forbidden from accessing a valid URL. The server understands the request, but it...
Read more >Why do I get 502 Bad Gateway error instead 403 Forbidden ...
You are getting a 502 error because your Lambda fails to run. As suggested above, go to CloudWatch logs to investigate what the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ventilation and heating works like a charm now, both turning on and off.
All such requests output the following in the log, but still functioning.
DEBUG (MainThread) [skodaconnect.connection] Request for parking heater returned with state "unknown",
Great job fixing this. Tack!
Thanks I already see what I think is the culprit. Something errs when the integration tries to auto discover what API endpoints are enabled so most are disabled. I will work on a fix right away.