Error AtlasError Documentation and Resolution

AWS security token included an invalid client token ID

InvalidClientTokenId

AWS could not validate the access key or token identifier in the request, which usually means the credentials are wrong, inactive, or belong to a different context.

InvalidClientTokenIdauthentication
InvalidClientTokenId
  • The access key ID is incorrect or no longer active.
  • Temporary credentials are incomplete or missing the matching session token.
  • The CLI, SDK, or environment is using the wrong profile.
  1. Verify the active profile and credential source used by the request.
  2. Refresh temporary credentials if a session token is required.
  3. Replace invalid or inactive credentials with a valid key set.
AWS Support API Reference: Common Errors
AWS InvalidClientTokenId: causes and fixes | Error Atlas