Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

[Bug]: 403 Forbidden. No data fetched! #1

@riegera2412

Description

@riegera2412

The problem

Seems there is an error in requesting the desired connection information via the API. When I set up a connection no data shows up in the created sensor.

The protocol shows the attached messages!

What version of Home Assistant Core has the issue?

2025.1.4 on HassOS Generic x86-64 14.2, Supervisor 2024.12.3

What type of installation are you running?

Home Assistant OS

What version of this Integration has the issue?

2025.02.1

Example YAML snippet

Anything in the logs that might be useful for us?

Logger: custom_components.bahnvorhersage
Quelle: custom_components/bahnvorhersage/init.py:225
Integration: Bahnvorhersage (Dokumentation, Probleme)
Erstmals aufgetreten: 3. Februar 2025 um 16:51:44 (603 Vorkommnisse)
Zuletzt protokolliert: 08:04:18

API request failed with status 403: <title>403 Forbidden</title>

403 Forbidden


nginx


Logger: custom_components.bahnvorhersage
Quelle: custom_components/bahnvorhersage/init.py:229
Integration: Bahnvorhersage (Dokumentation, Probleme)
Erstmals aufgetreten: 3. Februar 2025 um 16:51:44 (603 Vorkommnisse)
Zuletzt protokolliert: 08:04:18

Error fetching data: 403, message='Forbidden', url='https://bahnvorhersage.de/api/journeys'


Logger: custom_components.bahnvorhersage.sensor
Quelle: custom_components/bahnvorhersage/sensor.py:75
Integration: Bahnvorhersage (Dokumentation, Probleme)
Erstmals aufgetreten: 3. Februar 2025 um 16:51:45 (4219 Vorkommnisse)
Zuletzt protokolliert: 08:06:05

No data received for station: Freiberg(Sachs) to destination: Dresden Hbf


Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions