Skip to content

Invalid Parameter / Policy Rejection Error in SQS Access Policy when using India/EU SP-API Principal (184264100927) in ap-south-1

0

Hi AWS Builders Community,

I am facing a persistent issue while updating the SQS Access Policy for integrating Amazon Selling Partner API (SP-API) push notifications in the ap-south-1 (Mumbai) region.

Context & Background: We are setting up Amazon SQS to receive SP-API notifications (such as FBA_INVENTORY_AVAILABILITY_CHANGES and catalog events).

AWS Region: ap-south-1 (Asia Pacific - Mumbai)

Target Queue ARN: arn:aws:sqs:ap-south-1:<ACCOUNT_ID>:<QUEUE_NAME>

Use Case: Direct SP-API SQS push notifications and EventBridge rules.

The Problem:

  1. When configuring the queue access policy with the official North America (NA) SP-API IAM Principal (arn:aws:iam::437568002678:root), the AWS SQS Console accepts and saves the policy immediately without any issues.

  2. However, for our Indian marketplace (ap-south-1), the documentation requires the India/EU SP-API Principal (arn:aws:iam::184264100927:root).

  3. Whenever I update or include the 184264100927 principal (either alone or in an array), the SQS Policy Editor rejects it with errors such as:

"Invalid parameter / Invalid principal value"

"Policy update failed"

Sample Policy Being Tested: JSON { "Version": "2012-10-17", "Statement": [ { "Sid": "AllowOwnerAccess", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::<ACCOUNT_ID>:root" }, "Action": "SQS:*", "Resource": "arn:aws:sqs:ap-south-1:<ACCOUNT_ID>:<QUEUE_NAME>" }, { "Sid": "AllowAmazonSPAPIPush", "Effect": "Allow", "Principal": { "AWS": [ "arn:aws:iam::184264100927:root", "arn:aws:iam::437568002678:root" ] }, "Action": [ "sqs:SendMessage", "sqs:GetQueueAttributes" ], "Resource": "arn:aws:sqs:ap-south-1:<ACCOUNT_ID>:<QUEUE_NAME>" } ] } What We Have Tried:

  1. Verified the exact ARN formatting (arn:aws:iam::184264100927:root) rather than raw account digits.

  2. Verified that the Resource ARN matches the queue ARN exactly without trailing spaces.

3.Tried both standalone EU/IN principal and multi-principal arrays.

  1. Kept the NA principal intact, which always succeeds, while any mention of the India/EU account triggers policy rejection during validation.

Questions:

  1. Why does AWS IAM / SQS Console reject arn:aws:iam::184264100927:root in ap-south-1 while accepting the NA principal (437568002678) without error?

  2. Is there an active service control, IAM validation constraint, or region-specific requirement when referencing cross-account SP-API principals in Mumbai (ap-south-1)?

  3. What is the recommended workaround to successfully allow Amazon's EU/India notification service to deliver messages to an SQS queue in ap-south-1?

  4. Any guidance or architectural recommendations from AWS engineers or community builders would be greatly appreciated!

1 Answer
0
Accepted Answer

Hello.

At this stage, I think it is necessary to first verify whether 184264100927 is the correct AWS account ID for SP-API notifications sent to the EU and India.
AWS official documentation states that specifying a non-existent IAM entity as a Principal in an SQS access policy results in a validation error.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/troubleshooting-api-errors.html

"437568002678" is listed in the following document, but "184264100927" was not found in the documentation.
Is there any example of documentation that uses "184264100927"?
https://developer-docs.amazon/sp-api/docs/tutorial-grant-permission-to-sqs-queue

EXPERT

answered a month ago

EXPERT

reviewed a month ago

  • Thank you so much for the clarification! You are completely right.

    The 184264100927 ID came from an outdated/misconfigured reference which mistakenly assumed that India/EU marketplaces required a separate regional AWS account ID for SQS push notifications.

    As you pointed out, Amazon SP-API uses arn:aws:iam::437568002678:root globally across all regions (including India/ap-south-1). Because 184264100927 was a non-existent entity, AWS IAM was strictly rejecting it during policy validation.

    After keeping solely arn:aws:iam::437568002678:root in the SQS Access Policy, the policy was accepted immediately without any errors, and our SP-API notification setup is now working properly.

    Thanks again for helping pinpoint the exact root cause!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.