GameCircle get friend error with lastest tablet Fire HD 8
Hello, I m retrieving friends from my app with the given snippet found here :
https://developer.amazon.com/public/apis/engage/gamecircle/docs/friends-api#getfriends On my Kindle Fire HDX, no issue, everything is working just fine, but on the new fire HD 8, i got a error message : - Exception encountered while executing request: com.amazon.ags.AGSClientException: Network request requires authentication - com.amazon.ags.AGSClientException: Network request requires authentication this is from the exact same apk than the one executed in the HDX tablet, Any information or suggestions is welcomed Thanks for the read, Bastien
I am using the JNI API and testing on a Kindle Fire HD 10 (KFTBWI). My application is crashing when getBatchFriends is called. I was getting the same exception that ubiamazonian mentions earlier today. I am no longer seeing that however I no longer see that in the logs after changing my implementation up a bit. However I do see a WebView crash followed by a Signal 11. Relevant logs follow: D/ProfileToJavaInterface( 6650): requestFriendIds - called D/GC_HttpNetworkClient( 6650): Request: PUT
https://ags-ext.amazon.com/services/social/getMyFriends D/GC_HttpNetworkClient( 6650): Result:HTTP/1.1 200 OK D/RequestFriendIdsJniResponseHandler( 6650): jniRequestFriendIds response - onSuccess I/AmazonInsightsSDK( 6650): Event: 'GameC...' recorded to local filestore D/AGSProfileJni( 6650): getFriendIdsResponseSuccess called D/ProfileToJavaInterface( 6650): requestBatchFriends - called E/chromium( 6650): ### WebView crash. Version 41.51020.2250.0246 (code 1650210) D/UE4 ( 6650): Signal 11 caught!
Hi, Is there any chance the tablet is not registered to an Amazon account? That might explain the delta in behavior, but there should be no reason that gamecircle does not work on the newer Fire HD 8 or 10 tablets. I personally have tested several games which implement it on the Fire HD 8 and 10, and I didn't notice any issues when doing so. Thanks, Nick
I am now back to getting the authentication error mentioned when I call getBatchFriends. The callback now receives an UNRECOVERABLE ErrorCode. My Fire 10 is registered to an Amazon account and I checked also to make sure that my Game Circle profile is not set to hidden. My user is welcomed when GameCircle is initialized and getFriendIds does return a valid PlayerId for the one friend that my test account has.
Hi there, Is this local to your app? It might be worth trying out the sample app to see if you can reproduce the issue there. There may be something else weird happening in your code. Otherwise, please also post a full log/code as there might be other errors there that can help point to the issue. Thanks! Jamie
Hi there, Thanks for sharing the relevant information as well as the logs attributed to your app. Let us investigate and we'll get back to you as soon as we have more information on the matter. Thanks, Jamie
Hi there, Thanks for your patience. If you could let me know the following information, that would be greatly appreciated: - What version of the Gamecircle SDK are you using? I believe you said SDK 2.4.2, but I just wanted to clarify. - Did you try the APK on any other amazon devices? Do you see the same error on another amazon device? I know the OP said they were fine on the HDX, so if you were also able to confirm it working on another device, please let us know. - Can you launch Appstore on their HD8 / HD10? Are you able to purchase / download / install apps without any problem? If you could get back to me with the above information, that would be greatly appreciated. Regards, Jamie