I'm trying to save inventory data for my users, into the storage system as a json document. This has been an ongoing nightmare for me. The latest in the series of things suddenly not working is the 2.9.3 SDK for Unity, where (and this worked in version 2.9.1) using the function call:
storageService.UpdateDocumentByKeyValue (dbName, collectionName, "Username", PlayerData.ID, mydata, StorageCallBack);
or
storageService.SaveOrUpdateDocumentByKeyValue (dbName, collectionName, "Username", PlayerData.ID, mydata, StorageCallBack);
where mydata is the string version of JSONClass jsonData = new JSONClass (); ... I use the .Add(); function to add in the values, and then it's placed as a string into mydata... then the SaveOrUpdateDocumentByKeyValue is called. I know that ID is set, because in the code, I have a #if UNITY_EDITOR ... #endif that sets it specifically on the line right before I call the save function.
It returns a 500 error code in the editor... and my game hasn't worked since I updated the API on 2014-9-27...
btw, InsertDocument works, GetDocumentByKeyValue works... just not the save document functions.
Any thoughts?
closed with the note:
Closing this thread as there was no update from last 2 Weeks or more. Please raise a new query if problem persists.