Cannot update Multi-Image field via the API


I am having a lot of trouble updating a Multi-Image field via the API. Whenever I try to update it I get the old values back. I am updating the CMS items in a batch job, when I get back the “fileId” for each image I record it, then I don’t need to send it down next time if it hasn’t changed.

For example, if I do

and it returns
..., "gallery": [], ...
Then I do


..., "gallery": ["","",""], ...

Then I get back:
..., gallery: [], ...

It seems to work correctly when I create the records.

What am I doing wrong?

Can you format your post a little better ? It’s hard for me to understand what you mean. Try getting some screenshots please


Sorry. Hopefully, that is better. Unfortunately, they marked my post as spam so I couldn’t see it once I posted it.

1 Like

Well… I’m not able to get an image back when I access those urls:\u0026ids=0686F00000NaN2s\u0026d=%2Fa%2F6F000000YkP8%2FKRSG7nTV4iZhibORwfb2Lrp9xBmPNn9IR5Ou62y6rvA\u0026asPdf=false

It might be something related to access permissions? Long story short, if I can’t see images in that link, webflow probably can’t as well

You’re quite right. It seems the JSON encoding library I was using was encoding the & by default causing the links to not work. I’ve changed the configuration so it doesn’t.

Although, it seems to be working for individual image fields, and making the change doesn’t seem to fix anything.