Having trouble getting the list of things into the right format so it uploads.
What I’m doing:
Example data (list of things, category):
apples ; bananas, fruit,
carrots ; salat, vegetables,
Problem:
When I try to validate the data I get this message
“There was an error analyzing your data Adam ; Eva is not recognized as a list. It should be written as [fxx,yy].”
Same error:
“There was an error analyzing your data martin@gmail.com ; michal@gmail.com is not recognized as a list. It should be written as [fxx,yy]. Please check: this is the entry number 0.”
Thanks for reporting and helping. We are looking into this and also adding a bit more info on how to use the uploader. We’ll repost when we have an update.
I am exporting from a 3’rd party database with users, but the output CSV doesn’t enclose user roles in brackets (ex. “[admin, editor, viewer]”), it just separates them with a comma : “admin, editor, view”. So when I go to upload that CSV into bubble, the error about brackets keeps coming into. I don’t have time to enclose all 2,000 cells in brackets manually. Any idea?
@emmanuel
As I’m sure you know, CSV is a very common way to move data around, and it would seem to make sense to adjust Bubble to recognize the csv data without the brackets, rather than asking people to write scripts, which seems counter to Bubble’s core purpose of not needing to code.
Here is the easiest way I know how to work around this problem. I use Excel, but this should work in Google Sheets as well.
Open CSV in Excel
insert a new column (ex. B) next to the column (ex. A) of comma separated data you need to fix
in the first cell (ex. B2), enter the following formula ="["&A2&"]"
copy this formula down by double clicking on the “plus” symbol which displays on hover of the bottom right corner of the selected cell (ex. B2)
Save (in Excel, when saving as a CSV, it will convert formula to text. when you close and reopen the file, it will be text. Then you can delete the unbracketed column if you want)
5a) alternatively, you can insert another new column, and copy the entire column of data with the formula, and paste as text values only
Note: if some of your cells are empty, you’ll end up with [] which Bubble won’t like. Solution to this would be to create an If/Then formula so no brackets are added if the cell is empty.
Example: =IF(A2="","","["&A2&"]")