-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeating log entries reporting 'failed downloading picture' for ID. Buzz #154
Comments
is this still the case, or was it a temporary problem? |
Hi, yes. still ongoing as of just now.. Are the list of pictures passed in from the server or do you hard code them per vehicle? |
the list is coming from the server. What is strange is that it is a 403 error. Does it work in the app? |
hard to tell.. im not very used to the app.. new car.. I get a picture of the car, but its just one.. my wife has the car today so not sure if its dynamic if i were to open a door etc. |
im happy to share my app details if it makes it any easier to debug locally. |
same here (ID.4 in garage charging and connected...) Failed downloading picture door_right_front_overlay with status code 429 will try again in next update |
429 is a different error. It means too many requests. |
Sorry for the bad report. these errors occured several times in one block (i checked and they did not occur in the last 12 h) but looking on the log i see the following error occuring (but not in one block, one or two at a time every 2/3 hours) Failed downloading picture window_left_back_overlay with status code 403 will try again in next update |
I submitted a commit that should solve the issue with images. |
Using this component within Home Assistant the log is filling with messages relating to being unable to download pictures.
Logger: weconnect
Source: /usr/local/lib/python3.11/site-packages/weconnect/elements/vehicle.py:458
First occurred: 9 October 2023 at 16:32:11 (442 occurrences)
Last logged: 08:59:55
Failed downloading picture door_right_front with status code 403 will try again in next update
Failed downloading picture window_right_front_overlay with status code 403 will try again in next update
Failed downloading picture door_right_back_overlay with status code 403 will try again in next update
Failed downloading picture window_left_back_overlay with status code 403 will try again in next update
Failed downloading picture car_birdview with status code 403 will try again in next update
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 193, in update
self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 202, in updateVehicles
data = self.fetchData(url, force)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/weconnect/weconnect.py", line 393, in fetchData
raise RetrievalError(f'Could not fetch data. Status Code was: {statusResponse.status_code}')
weconnect.errors.RetrievalError: Could not fetch data. Status Code was: 403
The text was updated successfully, but these errors were encountered: