Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Troubleshooting

Chelsea Troy edited this page Jan 4, 2022 · 2 revisions

An error occurred (ExpiredTokenException) when calling the PutRecord operation: The security token included in the request is expired

Here's what I do:

  1. source <(maws -o awscli) writes credentials to ~/.aws/credentials
  2. In PyCharm, set an environment variable AWS_PROFILE to the corresponding name that you can find in your credentials file. You can set it in .env or in Run Configurations.

Clone this wiki locally