rivian-python-api icon indicating copy to clipboard operation
rivian-python-api copied to clipboard

Not getting any images

Open igillespie opened this issue 8 months ago • 7 comments

If I run, bin/rivian_cli --vehicles I can see my Gen 2 R1S.

However, when I the images command, I get no images:

bin/rivian_cli --images  
[]
No Images found

I'd expect to get back an array of URLs pointing to images representing my vehicle.

igillespie avatar Apr 26 '25 16:04 igillespie

Can you run it with the --verbose option? It will give more info on whats going on

the-mace avatar Apr 28 '25 14:04 the-mace

Yeah, here you go:

% bin/rivian_cli --images --verbose
images:
{'data': {'getVehicleOrderMobileImages': [], 'getVehicleMobileImages': []}}
[]
No Images found

igillespie avatar Apr 28 '25 15:04 igillespie

Hmm it looks like Rivian is not providing any data. The response is valid but the contents are empty. What state of delivery are you in? Like do you already have it or is it being built etc?

the-mace avatar Apr 28 '25 19:04 the-mace

I took delivery about a week ago. Got any other ideas, do you know if it is working for other Gen 1 and/or Gen 2 owners?

igillespie avatar Apr 28 '25 22:04 igillespie

So I have a Gen1 R1T and it gives this:

 % bin/rivian_cli --images --verbose
images:
{'data': {'getVehicleOrderMobileImages': [{'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_dark_small_hdpi.webp', 'resolution': 'hdpi', 'size': 'small', 'design': 'dark', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_light_small_hdpi.webp', 'resolution': 'hdpi', 'size': 'small', 'design': 'light', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_overhead_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'overhead'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_overhead_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'overhead'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_rear_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'rear'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_rear_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'rear'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side-charging_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'side-charging'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side-charging_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'side-charging'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'side'}, {'__typename': 'VehicleMobileImage', 'orderId': '247726129', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'side'}], 'getVehicleMobileImages': [{'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_dark_small_hdpi.webp', 'resolution': 'hdpi', 'size': 'small', 'design': 'dark', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_light_small_hdpi.webp', 'resolution': 'hdpi', 'size': 'small', 'design': 'light', 'placement': 'front'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_overhead_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'overhead'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_overhead_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'overhead'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_rear_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'rear'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_rear_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'rear'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side-charging_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'side-charging'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side-charging_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'side-charging'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side_dark_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'dark', 'placement': 'side'}, {'__typename': 'VehicleMobileImage', 'vehicleId': '01-27641316', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side_light_large_hdpi.webp', 'resolution': 'hdpi', 'size': 'large', 'design': 'light', 'placement': 'side'}]}}
[{'size': 'large', 'design': 'dark', 'placement': 'front', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_dark_large_hdpi.webp'}, {'size': 'small', 'design': 'dark', 'placement': 'front', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_dark_small_hdpi.webp'}, {'size': 'large', 'design': 'light', 'placement': 'front', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_light_large_hdpi.webp'}, {'size': 'small', 'design': 'light', 'placement': 'front', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_front_light_small_hdpi.webp'}, {'size': 'large', 'design': 'dark', 'placement': 'overhead', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_overhead_dark_large_hdpi.webp'}, {'size': 'large', 'design': 'light', 'placement': 'overhead', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_overhead_light_large_hdpi.webp'}, {'size': 'large', 'design': 'dark', 'placement': 'rear', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_rear_dark_large_hdpi.webp'}, {'size': 'large', 'design': 'light', 'placement': 'rear', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_rear_light_large_hdpi.webp'}, {'size': 'large', 'design': 'dark', 'placement': 'side-charging', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side-charging_dark_large_hdpi.webp'}, {'size': 'large', 'design': 'light', 'placement': 'side-charging', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side-charging_light_large_hdpi.webp'}, {'size': 'large', 'design': 'dark', 'placement': 'side', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side_dark_large_hdpi.webp'}, {'size': 'large', 'design': 'light', 'placement': 'side', 'url': 'https://rivian.com/mobile/static/img/v1/vehicle/r1t/2021/adventure/ext/limestone/20ad1-brit-at/r1t_2021_adventure_ext_limestone_20ad1-brit-at_side_light_large_hdpi.webp'}]

Im not sure why yours isn't returning the info, but the API is giving a response its just empty for some reason for you.

the-mace avatar Apr 29 '25 02:04 the-mace

Interesting. Do you know of anyone else with a gen 2 that has this api call working?

igillespie avatar Apr 29 '25 04:04 igillespie

I don't, its not something that most people seem to use via the API and my guess is Rivian moved away from assets via the API (data intensive, slow etc) vs building them into the app images. Anyway, the API is returning results, they're just empty.

the-mace avatar Apr 29 '25 12:04 the-mace