Expire token error code? #1843
Labels
closed-for-staleness
guidance
Question that needs advice or information.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Describe the issue
Hello,
When I issue a S3 request(PUT, GET, etc) with an expire credentials (generated by STS service), the S3 SDK seems returning UNKNOWN = 100 error code from S3Errors.h. The error message "ExpiredToken:Unable to parse ExceptionName: ExpiredToken Message: The provided token has expired." , on the other hand, seems containing some hint that indicates why the request failed.
Other than parsing the error message, is there any better way to verify the request failed due to "ExpiredToken"? I expected to receive an error code that maps to "ExpiredToken" in S3Errors.h, but it is returning UNKNOWN = 100 error code. I am not certain if this is intentional.
Thank you in advance!
Steps to Reproduce
No response
Current behavior
No response
AWS CPP SDK version used
1.7.29
compiler and version used
na
Operating System and version
na
The text was updated successfully, but these errors were encountered: