question

surya avatar image
surya asked

Import failed from mLab to playfab for parse addOn

Hi ,

I have migrated the data from Parse to mLab, Now I want to move the collections from mLab to PlayFab [Parse Addon].

I did mongoexport as json file and imported to playfab, Unfortunately it did work. Kindly give me the soultion.

Here is the sample mLab exported data

{  
   "results":[  
      {  
         "_id":"XXXX",
         "_perishable_token":"XXXX",
         "_created_at":{  
            "$date":"2016-10-13T13:00:49.802Z"
         },
         "_updated_at":{  
            "$date":"2016-12-12T07:03:49.070Z"
         },
         "username":"XXXX",
         "_session_token":"XXX",
         "_hashed_password":"XXX",
         "Android":true,
         "myname":"XXXX",
         "rndm":{  
            "$numberLong":"146"
         },
         "_auth_data_facebook":{  
            "access_token":"XXXX",
            "expiration_date":{  
               "$date":"2017-02-10T05:53:51.000Z"
            },
            "id":"XXXX"
         },
         "FBUserID":"XXXXXX",
         "levelstarsdata_87":"000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
         "levelsUnlock_87":{  
            "$numberLong":"251"
         },
         "STORE_COINS":{  
            "$numberLong":"28"
         },
         "MYFANSFOLLOW":{  
            "$numberLong":"2974"
         },
         "IsFirstTimeIntro":{  
            "$numberLong":"1"
         },
         "level25":{  
            "$numberLong":"244"
         },
         "LastLevelFailed":{  
            "$numberLong":"0"
         },
         "level172":{  
            "$numberLong":"700"
         },
         "IsFirstTimePlaying":{  
            "$numberLong":"0"
         },
         "myBoosterKey1":{  
            "$numberLong":"3"
         },
         "myBoosterKey2":{  
            "$numberLong":"0"
         },
         "myBoosterKey3":{  
            "$numberLong":"0"
         },
         "BOOSTERSPASTRY1":"01002200",
         "CurrentQuestionIndex":{  
            "$numberLong":"10"
         },
         "CorrectAnsweredCount":{  
            "$numberLong":"8"
         },
         "level250":{  
            "$numberLong":"430"
         }
      }
   ]
}
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Our Parse import tool requires data to be in the format of a Parse export, and unfortunately, that doesn't match that format. I would have to recommend following the instructions on the Parse export page, using the export link from Parse directly in our import tool.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.