I’m trying to upload data into my db, my college says he can upload it fine, but when I do it fails.
The original data that is being uploaded has ‘failed’ in the name, and the modified version has ‘succeeded’ in it. When I try to upload ‘failed’ it gives me the ‘Operation passed in cannot be an Array’ error, but the ‘succeeded’ version looks like the same formatting to me, but it works.
The display of the data is also different. when data from ‘succeeded’ is imported it is in a document, the filenames are listed as sub categories, a text sub category exists below each filename and then finally below that you have the array of floats. I don’t want this additional text level.
How do I upload this data without getting this text layer.
Each of the arrays are fairly large in this last doc so I didn’t expend them.
So I don’t know what is your problem exactly but if I can give you an advice, it would be to rename the fields so it looks a bit cleaner and they don’t contain whitespaces.
thanks @MaBeuLux88
that helped. I was trying to upload it through the compas UI
when I uploaded the ‘failed’ file through pymongo, it worked fine
wish both methods worked the same, but I got a solution