When i am trying to create end point of SNS application using php.phar SDk and php code i got the permission issue of user
**Fatal error: Uncaught Aws\Sns\Exception\AuthorizationErrorException: AWS Error Code: AuthorizationError, Status Code: 403, AWS Request ID: 00ff41fd-1b05-5696-b8c4-0ff21e72467c, AWS Error Type: client, AWS Error Message: User: arn:aws:iam::653168:user/xyz is not authorized to perform: SNS:CreatePlatformEndpoint on resource: arn:aws:sns:us-east-1:653111873368:app/GCM/SampleApp, User-Agent: aws-sdk-php2/2.8.8 Guzzle/3.9.3 curl/7.36.0 PHP/5.5.12 thrown in phar://C:/wamp/www/testing/sns/aws2.phar/Aws/Common/Exception/NamespaceExceptionFactory.php on line 91
Aucun commentaire:
Enregistrer un commentaire