-
I am able to get the information that I need but the Traceback shows Unknown error at the end.
Any idea why this is happening? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I need more information. What request are you trying to make here? I can see it's using the Vehicle class, but what method are you trying to call? |
Beta Was this translation helpful? Give feedback.
-
I was able to figure it out. I am not sure why but the Traceback started showing me the following error in addition to the unknown error.
This was helpful because I was able to lookup the vehicle XXXXXXXXXXXXXXXXX in FordPass and noticed it was an older 2014 truck. We have about 15 vehicles in FordPass. I excluded all vehicles under 2019 from my request and now I don't get the error anymore. So the above error was because I was requesting information from vehicles that didn't have this data in FordPass because they are not equipped to send this information. |
Beta Was this translation helpful? Give feedback.
I was able to figure it out. I am not sure why but the Traceback started showing me the following error in addition to the unknown error.
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://usapi.cv.ford.com/api/vehicles/v5/XXXXXXXXXXXXXXXX/status
This was helpful because I was able to lookup the vehicle XXXXXXXXXXXXXXXXX in FordPass and noticed it was an older 2014 truck. We have about 15 vehicles in FordPass. I excluded all vehicles under 2019 from my request and now I don't get the error anymore.
So the above error was because I was requesting information from vehicles that didn't have this data in FordPass because they are not equipped to send this information.