Page 1 of 1

invalid object ID when importing collection data

Posted: Fri Sep 27, 2013 5:38 pm
by Scott Schechtel

I am not able to import my dbase with collection. I get Invalid object ID: '7798093271850' and the ID field is a 13 digit barcode that is assigned to a product in my database. Why can't I create the ID the way I want?

here is the error: import csv error


invalid object ID when importing collection data

Posted: Fri Sep 27, 2013 6:32 pm
by Kateryna Grynko

Hi Scott,

Please show us the first line of the file and any of the following lines. Wrap the text in < code and < /code .


invalid object ID when importing collection data

Posted: Fri Sep 27, 2013 6:46 pm
by Scott Schechtel

invalid object ID when importing collection data

Posted: Fri Sep 27, 2013 8:17 pm
by Kateryna Grynko

Hi Scott,

The field _id is generated automatically, you shouldn't change it. It's better to add your own product id.
The file structure should be the following: http://docs.appery.io/documentation/b...


invalid object ID when importing collection data

Posted: Fri Sep 27, 2013 8:28 pm
by Scott Schechtel

okay. I just added the _id column and made the sku its own column and it imported just fine. Thanks