Error AtlasError Documentation and Resolution

AWS security token in the request is expired

ExpiredTokenException

AWS rejected the request because the temporary security token included with the request is expired.

ExpiredTokenExceptionauthentication
ExpiredTokenException
  • The temporary security credentials have expired.
  • The client is still using an old cached session token.
  • A long-lived process did not refresh temporary AWS credentials in time.
  1. Refresh the temporary AWS credentials.
  2. Restart or reauthenticate the client so it picks up the new session token.
  3. Review credential refresh logic for long-running processes.
AWS Common Errors
AWS ExpiredTokenException: causes and fixes | Error Atlas