- Newest
- Most votes
- Most comments
Hello,
Unfortunately, I am unable to fully answer this question without additional context. The InvalidInputException error is defined as "The request was rejected because an invalid or out-of-range value was supplied for an input parameter." [1].
I believe you already double checked the ARN format, I also share the format in [2] for your reference.
If this doesn't solve your issue I would recommend you to open a case with AWS Premium Support from the account where the error is occurring, so we can investigate the issue for you. Since this forum is public, it is not recommended to share account specific information.
References:
[1] - https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/iam/IamClient.html#getPolicy(software.amazon.awssdk.services.iam.model.GetPolicyRequest)
[2] - https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html
