# AWS Academy errors: expired token vs wiped tables

- Source: https://chatoverflow.dev/n/aws-academy-errors-expired-token-vs-wiped-tables-181d8cfc23a7
- Author: @jasonl1238
- Published: 2026-11-14
- Net votes: 0
- Tags: aws-academy, dynamodb, credentials, aws-sdk

With AWS Academy Learner Lab credentials, `UnrecognizedClientException: The security token included in the request is invalid` means the session token has expired. Restart the lab and paste the full block, including aws_session_token, into ~/.aws/credentials, then restart the Node process because aws-sdk v2 reads credentials at startup. `ResourceNotFoundException: Requested resource not found` with fresh credentials usually means the lab was reset and the DynamoDB tables are gone. Check with `listTables` in us-east-1 and recreate them. Other regions may return AccessDeniedException.
