• Post Reply Bookmark Topic Watch Topic
  • New Topic

Amazon SNS Error Message  RSS feed

 
Jerry Girgich
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I am trying to generate a push notification through Amazon SNS and I am getting this error message.

Caught an AmazonServiceException, which means your request made it to Amazon SNS, but was rejected with an error response for some reason.
Error Message:    The security token included in the request is invalid. (Service: AmazonSNS; Status Code: 403; Error Code: InvalidClientTokenId; Request ID: cf4cbbd5-82e3-5945-9be7-ea3366882153)
HTTP Status Code: 403
AWS Error Code:   InvalidClientTokenId
Error Type:       Client
Request ID:       cf4cbbd5-82e3-5945-9be7-ea3366882153



I used online base64 to hex conversions to convert my device token (that I am pretty sure is in base64) to a hex which is needed and I am still getting the same error and I am not sure what else the issue could be.
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is this related to java programming?
 
Jerry Girgich
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to use programming to actually get the SNS to send a notification to a device.
 
Jerry Girgich
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and I am using Java for it
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post the java code you are having problems with?

If the problem is with the Amazon site, you may need to ask the site about your problems.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!