• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Amazon SNS Error Message  RSS feed

 
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.
 
Master Rancher
Posts: 3276
33
  • 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
Master Rancher
Posts: 3276
33
  • 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!