Why is SaveUserScore saying I'm giving invalid parameters?

0 votes

http://codeshare.io/qKs0T

 

That's my code where I use SaveUserScore

 

and the callback script is giving me the exception Exception :

com.shephertz.app42.paas.sdk.csharp.App42BadParameterException: {"httpErrorCode":"400", "appErrorCode":"1400", "message":"Bad Request", "details":"The Request parameters are invalid"}

UnityEngine.Debug:Log(Object)
SendingScoreCallBack:OnException(Exception) (at Assets/Scripts/Score Scripts/SendingScoreCallBack.cs:33)
com.shephertz.app42.paas.sdk.csharp.connection.<execute>d__6:MoveNext()
com.shephertz.app42.paas.sdk.csharp.connection.<WaitForRequest>d__3:MoveNext()
 
 
 
asked May 13, 2014 in App42 Cloud API-BaaS by JoeCrill (25 points)

1 Answer

0 votes
I just looked at your code. You are initializing the SDK in wrong way. I have done the modification on line 23 and 25  to make it initialize properly. You need to pass your APIKey/SecretKey at line # 23.

Let me know if it helps.
answered May 13, 2014 by ajay123 (899 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...