- Newest
- Most votes
- Most comments
The "Unable to validate destination" error you're encountering with Amazon Marketing Stream (AMS) and your SQS queue in eu-west-1 could be due to a few potential issues:
-
Principal mismatch: Your current policy specifies "sns.amazonaws.com" as the Principal, but AMS might be using a different service to send messages. Try changing the Principal to "events.amazonaws.com" or "s3.amazonaws.com" instead.
-
Action permissions: Ensure that the Action in your policy includes both "sqs:SendMessage" and "sqs:GetQueueAttributes". AMS might need both permissions to validate the queue.
-
Resource ARN: Double-check that the Resource ARN in your policy exactly matches your SQS queue's ARN, including the correct account ID and queue name.
-
Condition block: While you've tried removing the Condition block, it might be necessary with the correct values. Ensure the ArnLike or ArnEquals condition uses the correct source ARN for AMS in eu-west-1.
-
Queue accessibility: Verify that your SQS queue is not set to private or has any other access restrictions that might prevent AMS from validating it.
-
Policy format: Ensure your policy is in valid JSON format without any syntax errors.
To troubleshoot further:
-
Try using the AWS CLI or SDK to test sending a message to your SQS queue using the same permissions as in your policy. This can help isolate if the issue is with the queue configuration or with AMS specifically.
-
Check CloudTrail logs for any denied actions related to your SQS queue around the time you're making the AMS API call.
-
Consider reaching out to AWS Support for specific guidance on AMS requirements for SQS integration in eu-west-1, as there might be undocumented specifics for this service.
Remember to make one change at a time and test after each modification to isolate the cause of the validation failure.
Sources
Unable to validate the following destination configuration | AWS re:Post
Unable to validate the following destination configuration | AWS re:Post
Resolve EventBridge notification failures in Amazon SQS | AWS re:Post
Relevant content
- asked 10 months ago
