question

steve-thorne avatar image
steve-thorne asked

Network Request requires authentication

Hi, I'm setting up GameCircle within my Unity game and I've set up the security profile with the application signature and have placed the api key in the corresponding file in my Unity project. I have also added the user's name to the nickname list on the security profile. When I start up the game on my amazon device the little popup comes up for GameCircle being enabled and when I click on that the screen comes up for GameCircle. When the screen comes up it welcomes my signed in user but above the user name it says "Sorry, an error occurred. Please try again later." When I look in the logs it seems that I'm getting this error a lot whenever the service tries to gather the information. GC_NetworkCallFactory: Exception encountered while executing request: com.amazon.ags.AGSClientException: Network request requires authentication GC_NetworkCallFactory: com.amazon.ags.AGSClientException: Network request requires authentication GC_NetworkCallFactory: at com.amazon.ags.html5.comm.HttpNetworkClient.addADPTokenHeaders(HttpNetworkClient.java:173) GC_NetworkCallFactory: at com.amazon.ags.html5.comm.HttpNetworkClient.addAuthenticationHeaders(HttpNetworkClient.java:149) GC_NetworkCallFactory: at com.amazon.ags.html5.comm.HttpNetworkClient.execute(HttpNetworkClient.java:90) GC_NetworkCallFactory: at com.amazon.ags.html5.comm.NetworkCallFactory.handleServiceRequest(NetworkCallFactory.java:141) GC_NetworkCallFactory: at com.amazon.ags.html5.comm.NetworkCallFactory.handleMessage(NetworkCallFactory.java:107) GC_NetworkCallFactory: at com.amazon.ags.html5.javascript.CallHandlerBase.handleMessage(CallHandlerBase.java:61) GC_NetworkCallFactory: at com.amazon.ags.html5.javascript.domain.JavascriptInterface$6.run(JavascriptInterface.java:206) GC_NetworkCallFactory: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) GC_NetworkCallFactory: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) GC_NetworkCallFactory: at java.lang.Thread.run(Thread.java:856)
10 |5000 characters needed characters left characters exceeded

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

Bipin@Amazon avatar image
Bipin@Amazon answered
make sure the authorisation activity is declared in manifest. update the AuthorizationActivity and add your package name to the data element refer: https://developer.amazon.com/sdk/gamecircle/documentation/unity-gamecircle-setup.html#Section5
10 |5000 characters needed characters left characters exceeded

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

tanyaf 80 avatar image
tanyaf 80 answered
I am trying to sync my "2020 my country" game from my kindle fire to my htc phone. I have downloaded the "amazon app store" app And successfully logged in to my kindle account and I can assesses all my apps that are on my kindle so when I download the app it starts a new game. Does anyone know how I can transfer my progress between both ????......also I can't seen to login to game circle from my phone I can't even seem to locate game circle. Any solutions would be great. Thank you so much
10 |5000 characters needed characters left characters exceeded

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

Sujoy@Amazon avatar image
Sujoy@Amazon answered
10 |5000 characters needed characters left characters exceeded

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