question

mitchellc avatar image
0 Likes"
mitchellc asked ·

Error updating Inventory item product.imageUrls when URL contains a space

On the Create or Replace Inventory item call, an error is returned if an image URL (from product.imageUrls) contains a space. For example:
        "imageUrls": [
            "https://greenfirefarms.com/images/banner/aboutus-banner.jpg",
            "https://greenfirefarms.com/images/product/altsteirer-banner.jpg",
            "https://greenfirefarms.com/images/product/altsteirer.jpg",
            "https://greenfirefarms.com/images/product/altsteirer egg.jpg"
        ],
Results in this error: 25709 Invalid value for imageUrls. RlogId=t6pitnmsgwj%28ciudbq%60anng%7Fu2h%3F%3Cwk%7Dukqlhqbuo*2476%3A%3C4-15c22a2a1ec-0x125b
inventory apiimageurl
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi mitchellc, Please use '%20' instead of space character as below : https://greenfirefarms.com/images/product/altsteirer%20egg.jpg Best Regards,
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mitchellc avatar image
0 Likes"
mitchellc answered ·
That works, thank you.
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.