Bulk Data API error - Bulk create new things API call showing error

Hi all,

I am trying to create multiple elements in one of my things of my Bubble database with a single bulk create API as described in Data API - Bubble Docs . However, I’m retrieving an error in my request response when trying this.

{"statusCode":400,"body":{"status":"ERROR","message":"The maximum number of new objects that can be created via a bulk request is 1000"}}

The total number of objects that needed to be created is less than 300. Why is this error showing? please help!

(I’m not 100% sure what I’m talking about here, but) it could be an issue with the delimiter setup. If you add too many line breaks, those empty lines could be considered part of your 1000 record allotment.

Thank you for your quick reply.

I have added just an “enter” key in delimiter. Please suggest any required changes

@jared.gibb @eli any thoughts?

Screenshot what you are sending to your API

Bulk Data API


Total objects to be added - 241

Let me know any more info required. Thanks!

:thinking: Maybe try just Bulk Creating from that API’s response :until item #10, then check your logs and see if for some reason it’s doing more than 10…

Maybe check for any accidently line breaks in the :formatted as text window too just in case…

I usually do :formatted as JSON safe after each text dynamic part (and I remove the quotes on each side, it adds those in already) because it’s possible one of the responses has a line break in it too maybe? Does that sound possible? The :JSON safe escapes all special characters so nothing from your HubDb response breaks your JSON formatting.

Thank you Tyler. Thank you so much.

You found out the actual issue and :formatted as JSON safe worked.

1 Like