Hi I've doing some tests for the implementation of the buddy service in our Unity game, right now Im not using the User Servcie, just the storage service to save my users, but when I try to Create a group for a User, I get the next messages on the console Xcode:
Create FriendList for player [Guest] with UniqueID[0f607264fc6318a92b9e13c65db7cd3c]
Json String : {"app42":{"buddy":{"userName":"0f607264fc6318a92b9e13c65db7cd3c","groupName":"Friends"}}}
apiKey9b45a57f861c7d6356cfbdc2f82005eb8efb15bdb651b86dd5a285d4d8800619body{"app42":{"buddy":{"userName":"0f607264fc6318a92b9e13c65db7cd3c","groupName":"Friends"}}}timeStamp2014-05-27T22:55:29.399Zversion1.0
GetInstance Not Null
QueryString is ?
POST URI : https://api.shephertz.com/cloud/1.0/buddy/group?
Calling: Wait For request callback
Exception on group creation : com.shephertz.app42.paas.sdk.csharp.App42Exception: 400 bad request
with code AppCode[0] HttpCode[0]
The "With code AppCode [0] HttpCode[]" comes from my code on the Callback:
public class GroupCreatedCallBack : App42CallBack
{
public void OnSuccess(object response)
{
App42Log.Console("Friend Group Succesfully Created!");
Buddy buddy = (Buddy) response;
App42Log.Console("userName is : " + buddy.GetUserName());
buddy.SetOwnerName(buddy.GetUserName());
App42Log.Console("groupName is : " + buddy.GetGroupName());
//Do Something OnSuccess
}
public void OnException(Exception e)
{
App42Log.Console("Exception on group creation : " + e);
App42Exception appException = (App42Exception)e;
int appErrorCode = appException.GetAppErrorCode();
int httpErrorCode = appException.GetHttpErrorCode();
Debug.Log("with code AppCode["+appErrorCode+"] HttpCode["+httpErrorCode+"]");
}
}
What could be the problem with this implmentation?
PD: Is The BuddyService App42HQ dashboard ner realease?
Thabks in Advance!