home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.14k stars 29.82k forks source link

Client error '404 Not Found' for url 'https://cocoapi.bmwgroup.us/eadrax-vcs/v4/vehicles/state' #86063

Closed Rdodds033 closed 1 year ago

Rdodds033 commented 1 year ago

The problem

I'm having a permanent issue where I get the 404 Not Found error when starting up the Connected Drive integration.

The My BMW app and website are all functioning normally. I've tried removing the integration, restarting HA, and reconfiguring the integration with no change.

This issue seemed to become permanent around the release of 2023.1.1.

What version of Home Assistant Core has the issue?

2023.1.4

What was the last working version of Home Assistant Core?

2022.12.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

bmw_connected_drive

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bmw_connected_drive/

Diagnostics information

home-assistant_bmw_connected_drive_2023-01-17T04-34-42.995Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @gerard33, @rikroe, mind taking a look at this issue as it has been labeled with an integration (bmw_connected_drive) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `bmw_connected_drive` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign bmw_connected_drive` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


bmw_connected_drive documentation bmw_connected_drive source (message by IssueLinks)

rikroe commented 1 year ago

You're located in the US, right? Then it seems that for the first time, BMW didn't update all their regions at the same time... To get it back working, you could roll back to 2023.1.0 (the updated library was included in 2023.1.1).

And I'll have to think of a way to support multiple API versions for the different regions...

rikroe commented 1 year ago

Ok, double checked against the latest MyBMW app for north_america. You do seem to use the same endpoints as in rest_of_world....

Rdodds033 commented 1 year ago

Yes, I'm in the US.

I rolled back to V2022.12.6 and it isn't giving me the 404 error anymore. Now I'm getting an error for another vehicle that wasn't fully setup and I can't seem to delete it from the MyBMW app. I'll have to keep working at that and once that's resolved I can update this thread. I don't think that has anything to do with the integration.

Thank you for the help!

Rdodds033 commented 1 year ago

I resolved the issue with the second vehicle on my account. It was my roommate's car, and I had paired my MyBMW app while I was servicing it. It seems when the vehicle is in the stage between being added and actually agreeing to ConnectedDrive's T&S, it'll cause the integration to fail. I just ended up re-adding the vehicle and following through with the CD agreement.

The integration seems to be working as expected at this time. I'll just keep an eye on HA's changelog before I update in the future.

Thanks again!