You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2020. It is now read-only.
Using your package to create listings on Etsy, I tried to upload images with the following code: param = { 'listing_id': listing_id, 'image': '/home/user/link.jpg', 'rank': int(rank) } etsy.uploadListingImage(**param)
but I get the following error:
Hi,
Using your package to create listings on Etsy, I tried to upload images with the following code:
param = { 'listing_id': listing_id, 'image': '/home/user/link.jpg', 'rank': int(rank) } etsy.uploadListingImage(**param)but I get the following error:
" Could not decode response from Etsy as JSON: status_code: 500, text: "The image array metadata doesn't look like a _FILES array", url 'https://openapi.etsy.com/v2/listings/*listing_id*/images' "
Get the same error for 'image': (filepath, open(filepath, 'rb), 'image/jpeg') format.
What is the format for 'image' param to upload an image ?
Thanks!