Add better error message for failed cross-partition requests
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
As reported in https://github.com/aws/aws-sdk/issues/647 and https://stackoverflow.com/a/54837250, there is a lot of confusion when making requests to GovCloud regions from non-GovCloud regions. The cross-partition requests fail because "[You cannot use IAM credentials from one partition to interact with resources in a different partition](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html)." This results in authorization errors that vary across services, for example:

Would the SDK teams be able to a clearer error message for this scenario?
Contributor guide
Assessment
This issue has not been assessed yet.