question-mark
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.

VOC api not working for android auto vehicles

See original GitHub issue

Located in the US. The official volvo on call app works for my vehicle. But all calls to the voc api used by this project simply fail with a 500 error:

{
    "errorLabel": "InvalidInputCriteria",
    "errorDescription": "The input parameters are invalid"
}

I used charles to take a look at how the official volvo app works. I can see it making requests to these URLs:

https://gw.consumer.api.volvocars.com/voc/disturbances/products/VolvoOnCall?region=NorthAmerica
https://cepmob.eu.prod.c3.volvocars.com
https://gw.consumer.api.volvocars.com/cbvs/subscriptions/

It appears their app is using the new api but when I follow the docs and query my account i just get an empty list for my vehicles, but querying their demo data shows a valid vin / vehicle to query.

Is there no working API for north america anymore?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

1reaction
nikagersonlohmancommented, Mar 8, 2022

Quote from their website: “This API works for all connected cars up to model year 2021, excluding the XC40 Recharge BEV.”: https://developer.volvocars.com/volvo-api/connected-vehicle/

0reactions
nikagersonlohmancommented, Dec 19, 2022

Thanks for triggering this. I have checked Volvo’s website and the Connect and Extended Vehicle APIs still do not support XC40 P8 / full electric. But… they introduced a new “Energy API”: https://developer.volvocars.com/apis/energy/overview/

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Android Auto app isn't working - Google Support
In your car, try these troubleshooting tips: Check to see if Android Auto is turned on in your car's infotainment system. Restart your...
Read more >
8 Ways To Fix Android Auto Not Working | Cannot connect
Chapters. View all · Introduction · Introduction · Introduction · Check if your car and phone support Android Auto · Check if your...
Read more >
Add support for Android Auto to your media app
If you run into an issue while developing your media app for Android Auto, you can report it using the Google Issue Tracker....
Read more >
Add support for Android Auto to your app
Declare Android Auto support; Set your app's minSdkVersion; Running the app on a real head unit. You need to make a few changes...
Read more >
Using the Android for Cars App Library
In order to be listed in the Play Store for Android Auto and Android Automotive OS, the app needs to belong to one...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found