Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bad Gateway / Forbidden error

See original GitHub issue

Hi! 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

  username: !secret skoda_username
  password: !secret skoda_password
  scandinavian_miles: false
  imperial_units: false
    minutes: 5

And this is the errorlog:

Could not fetch tripstatistics, error: 403, message='Forbidden', url=URL('')

Could not fetch StoredVehicleDataResponse, error: 502, message='Bad Gateway', url=URL('')

Could not fetch position (ClientResponseError), error: 502, message='Bad Gateway', url=URL('')

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!


Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:68 (5 by maintainers)

github_iconTop GitHub Comments

lissmeistercommented, Jan 28, 2021

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!

Farfarcommented, Jan 27, 2021

@Farfar Attached is anything related to skodaconnect from the log file.

Ps. I´ve installed rc3 through hacs, but manifest.json still says rc2 and so does the log.


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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found