Image Url not accepted by CMS Api


I am attempting to upload an image to Webflow via the CMS Api. The collection item field is of type Image and the image is stored in Salesforce but referenced by a url.

The following url is an example of a url that is not accepted/processed by the CMS Api.

All other fields in the payload are accepted and reflected in the collection item. Other image urls are accepted by Webflow. For some reason Webflow does not like this Url even though it resolves to an image.

Is anyone aware why Webflow CMS Api is not be accepting this url?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)


I’m pretty sure it will need to be a direct file link. As this downloads the file on when visited, there’s ether some serverside or JS happening to achieve that, so it won’t work with the API.

Your URL will need to not be one that auto-downloads the image.

Hi Jono,

Thanks for the reply. That makes sense to me.

When I open up my terminal and run curl on that first image, I get a 403 access denied error. That’s why the API can’t upload it to Webflow.

curl -I
HTTP/2 403 
content-length: 232
x-amz-request-id: tx0000000000001393a7db5-0062d81ab1-319bec8f-nyc3c
accept-ranges: bytes
content-type: application/xml
date: Wed, 20 Jul 2022 15:09:37 GMT
vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method
cache-control: max-age=60
strict-transport-security: max-age=15552000; includeSubDomains; preload
1 Like