question

shaqspeare avatar image
shaqspeare asked

Decoding fails: certificate fingerprint can't be verified

[On behalf of: JEDREW LLC] Hi, I have this identity federation example working for Facebook. I then followed the instructions on creating an Amazon Login, including the code to uncomment. When I follow the instructions for Amazon Login with Android, I get the following error in the Android Logcat: 03-26 13:11:20.343: W/com.amazon.identity.auth.device.appid.APIKeyDecoder(4663): Failed to decode: Decoding fails: certificate fingerprint can't be verified! which results in... 03-26 13:11:20.343: E/com.amazonaws.demo.personalfilestore.AlertActivity(4663): Invalid API Key 03-26 13:11:20.343: E/com.amazonaws.demo.personalfilestore.AlertActivity(4663): java.lang.IllegalArgumentException: Invalid API Key 03-26 13:11:20.343: E/com.amazonaws.demo.personalfilestore.AlertActivity(4663): at com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager. (AmazonAuthorizationManager.java:126) 03-26 13:11:20.343: E/com.amazonaws.demo.personalfilestore.AlertActivity(4663): at com.amazonaws.demo.personalfilestore.AmazonLogin.onCreate(AmazonLogin.java:38) I have checked the api key and MD5 signature, tried putting the api key in the assets/ folder and the strings.xml. I have attached the log_cat output and my strings.xml. Any suggestions on how to debug this? Thanks Jeff
login with amazon
10 |5000

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

1 Answer

shaqspeare avatar image
shaqspeare answered
[On behalf of: JEDREW LLC] I had an out of date MD5 value
10 |5000

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