BundleValidationError Issue When Adding Rows in Google Sheets

Hello everyone,

I’m currently trying to use the “Bulk Add Rows” module in Make with Google Sheets. I’m running the module by itself to test it, and my goal is to find a working data format to add rows to my spreadsheet. Once I confirm the correct format, I’ll know how to structure the data for my final setup. However, I keep getting the BundleValidationError, and I’m not sure what format Make expects in the Rows parameter.

Context:

  1. Data Structure: I’m trying to send test data in JSON format with three fields: Nombre, Fecha, and Hora to keep it simple for testing purposes. Once I know the format, I can build out the full data set.
  2. Module Configuration:
  • I’m using “Insert Rows” in the module settings.
  • My Google Sheets file has the column headers exactly matching the field names (Nombre, Fecha, Hora).
  • My regional settings in Google Sheets use semicolons (;) instead of commas (,), which has caused some formatting challenges.

Data Format Attempts

I’ve tried multiple formats to see if I can get the data to work, but I keep encountering the same error. Here are three examples of the formats I’ve tested:

  1. Standard JSON with Commas (assuming JSON structure with commas is correct):

[
{
“Nombre”: “ADRIAN AGUSTIN SOTO”,
“Fecha”: “02/11/2024”,
“Hora”: “10:00”
},
{
“Nombre”: “MARIA VICTORIA LOPEZ”,
“Fecha”: “02/11/2024”,
“Hora”: “11:00”
},
{
“Nombre”: “FEDERICO NATO”,
“Fecha”: “02/11/2024”,
“Hora”: “12:00”
}
]
JSON with Semicolons (to match regional settings):

[
{
“Nombre”: “ADRIAN AGUSTIN LOPEZ”;
“Fecha”: “02/11/2024”;
“Hora”: “10:00”
}
{
“Nombre”: “MARIA VICTORIA SOTO”;
“Fecha”: “02/11/2024”;
“Hora”: “11:00”
}
{
“Nombre”: “FEDERICO NATO”;
“Fecha”: “02/11/2024”;
“Hora”: “12:00”
}
]


ERROR


Here’s how you can phrase it in English:


I just need to know what to put in this Text field to run only this module and see which format doesn’t produce an error. I want to understand exactly what data should go here.

Welcome to the Make community!

You need to use an Array Aggregator. For more information, see below.

Aggregators

Every result (item/record) from iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and can apply to many use-cases like building of JSON, CSV, HTML.

There are other types of aggregator modules, click the below links to find out more:

Array Aggregator – mapping multiple bundles into a complex field

The Array Aggregator module is very powerful because it allows you to build a complex array of collections for a later module’s field to map multiple items (collections) to it.

This is done using the “Target structure type” of an Array Aggregator module.

Here is an example:

As you can see, the “Map” toggle on complex fields are used when you have an array. You can easily build an array variable to map to a future module’s field, by using an Array Aggregator module and select the “Target Structure Type” as the future module’s field you have mapped the array into.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.