question

creeng avatar image
creeng asked

cannot_authorize

Hi, Two questions. 1. Is it possible to test / develop Game Circle features if we are located in not supported countries (Finland in our case)? 2. Should the game circle work on Kindle Fire emulator? I'm getting cannot_authorize error from initialization. Have whitelisted the binary and registered the emulator. Thanks, Teemu
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.

Sachin@Amazon avatar image
Sachin@Amazon answered
Using Kindle Fire Emulator, you can test / develop Game Circle features even if you are not located in supported countries. You can also create an account for any of the supported country and use it to test it on your device. Here's the general guidelines that can be followed in case you get CANNOT_AUTHORIZE error 1) Test on a Kindle Fire device. Amazon GameCircle features are only available on Kindle Fire devices. 2) Make sure the device is signed in with an Amazon account. GameCircle uses the account that the device is signed in with to authenticate the player. 3) Make sure the device has been updated to the latest version of the Fire OS. To do this, go to the top menu, tap More, tap Device, click the Update your Kindle button if it is enabled. 4) Make sure you're using the latest version of the GameCircle API. The current version is 1.2.2. 5) Make sure that the keytool command you used to get the signature returned a valid result. To do this, run the first part of the command line separately: keytool -exportcert -alias androiddebugkey -keystore [path to your keystore file] This command should return a very long string that represents your certificate. If the path to your keystone is wrong, it will return an error message. After this you get valid results from this command, then run the full command line to get the signature: keytool -exportcert -alias androiddebugkey -keystore [path to your keystore file] | openssl sha1 -binary | openssl base64 This will return your signature string. Please check that this is the string that you have registered in the GameCircle Portal. Please let us know if any of these ideas resolves your problem.
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.

creeng avatar image
creeng answered
Hi, Thanks for the info. The problem was the wrong signature that was white listed. I wasn't able to get the correct signature using keytool, but could find the correct one from the adb logs (which I think is easier way to find out the correct signature). -Teemu
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.

Sachin@Amazon avatar image
Sachin@Amazon answered
Hi creeng, Its good to know that you were able to solve your issue. This will surely help other developers as well. Thank you.
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.

gilko78 avatar image
gilko78 answered
Can you tell me how to get the correct signature from the log please? Thanks Chris
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.