I am trying to integrate Amazon SNS Push Notification service
in my android app.
What I have done:
Firebase Cloud Messaging
to get "API Key". However, after doing all the above steps I am able to see the below error message on AWS console:
Invalid parameter: Attributes Reason: Platform credentials are invalid (Service: AmazonSNS; Status Code: 400; Error Code: InvalidParameter; Request ID: 9c385a89-20c3-54e7-b0f0-0a57ffa6a30b)
You may refer with this related SO thread . I've seen in the comment the the OP tried to created a new key (in Firebase) and had to update the app accordingly.
Also, based from this forum , when you register an app in google cloud console (Projects > APIs & auth > Registered apps > Register app)
, you have to select Accessing APIs via a web server
option inside "Android" option in Platform. Once you create it, select API Key in server key section. That key is correct and lets you create the app in AWS console.
You may also to contact the support if the error still persists.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.