# Upload Multiple File via APIs

**URL:** <https://forum.bubble.io/t/upload-multiple-file-via-apis/215980>\
**Category:** APIs\
**Created:** [July 18, 2022, 7:04pm UTC](https://forum.bubble.io/t/upload-multiple-file-via-apis/215980 "2022-07-18T19:04:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adhpawal](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adhpawal/32/137885_2.png) [@adhpawal](https://forum.bubble.io/u/adhpawal)\
**Post date:** [July 18, 2022, 7:04pm UTC](https://forum.bubble.io/t/upload-multiple-file-via-apis/215980/1 "2022-07-18T19:04:14Z")

</div>

HI,

I am trying to upload multiple files via APIs to Bubble, however, I couldn’t get it to work and I am getting the following response when trying to do so,

> {“statusCode”:400,“body”:{“status”:“INVALID\_DATA”,“message”:“Invalid data for field images\_list\_list\_image: Expected a image url as a string, but got a object (original data: {"private":false,"contents":"base64 encoded file","filename":"couer- rochester.jpg"})”}}

And, The Payload that I am sending is,

> {  
> “images\_list\_list\_image”: [{  
> “private”: false,  
> “contents”: “data:image/png;base64,base64 encoded file”,  
> “filename”: “couer- rochester.jpg”  
> }],  
> “idea\_email\_body\_text”: “asd”,  
> “submitter\_email\_text”: “[asd@asda.org](mailto:asd@asda.org)”,  
> “idea\_email\_subject\_text”: “asd”  
> }

However, This works if I send a single file to some other fields that allow single file storage.

I read somewhere in the forum that Bubble doesn’t support array as a data type, so wanted to check with the community on whether it is possible to send multiple files in base64 encoded format as an array to a single field.

Hoping for a prompt response regarding this.

Thanks
