Jon
Posts: 0
Joined: Wed Dec 26, 2012 3:37 am

Importing Parse.com DB to Tiggzi backend

I started with a Parse.com database but would like to import it and use the Tiggzi backend. When I tried to import the JSON table I had exported from parse.com into my Tiggzi DB Collection, I got the message "Root element "data" not found". I checked other threads on the forum, but didn't seem to see one with the same question.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Importing Parse.com DB to Tiggzi backend

Can you show us a sample data from your file..? You can put dummy data - if you need to.

Jon
Posts: 0
Joined: Wed Dec 26, 2012 3:37 am

Importing Parse.com DB to Tiggzi backend

sure thing...
precode{ "results": [
{
"response": "thought",
"option": "rational",
"userId": "9XTxoQs6ev",
"createdAt": "2013-03-13T15:07:33.985Z",
"updatedAt": "2013-03-13T15:07:33.985Z",
"objectId": "ok2fkCxY7y"
}
] }/code/pre

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Importing Parse.com DB to Tiggzi backend

Hello! Try next format:

code{ "data": [
{
"response": "thought",
"option": "rational",
"userId": "9XTxoQs6ev",
"createdAt": "2013-03-13T15:07:33.985Z",
"updatedAt": "2013-03-13T15:07:33.985Z",
"objectId": "ok2fkCxY7y"
},
{
"response": "response2",
"option": "option2",
"userId": "222222",
"createdAt": "2012-02-12T15:07:33.985Z",
"updatedAt": "2012-02-12T15:07:33.985Z",
"objectId": "222222"
}
] }/code

Please note that
code"createdAt", "updatedAt", "objectId"/code became just string fields.

system fields (_id, _createdAt, _updatedAt) not allowed for import.

Return to “Issues”