I have a python script to post/patch fields on new or existing items, including image URL…as documented here: http://developers.webflow.com/#images.
I’m having issues with posting/patching the image field with an image URL. While a few image URLs get uploaded correctly, most are ignored. All images are .PNG, and are retrieved for the same URL structure.
THIS WORKS:
THIS DOES NOT:
I noticed that images that make it, are smaller in size. Is that the reason? Is there a file size limit with uploading images with an API call? If so, what is the limit?
I’m actually not too sure about this either, given that the image that works is 10KB and the one that doesn’t is only 30KB. Any other issue that could cause this?
If I PATCH the same webflow item within the same collection list, one image works, but the other does not! Both images are pngs, under 4MB, and stored on amazon servers.
One way to debug this would to add a record manually to the CMS via the designer and see if you get an error using the asset URL you are using in the patch. Might get a better error if it fails.