0

i have an app connected to a local dynamodb, written in typescript on yop of node js (express) using the aws-sdk. i am trying to connect to the locally running dynamo, and getting that error when trying to perform different operations (list table, delete table etc):

UnrecognizedClientException: The security token included in the request is invalid.

cant resolve that, been trying for a whole day, configured local credentials for the aws console etc.

thanks in advance.

2
  • 1
    Could you please share a piece of code where you initiate a DDB client instance? Commented Aug 30, 2021 at 7:50
  • I think it's either the credentials are wrong, the region used is wrong or the credentials are invalid. Commented Jun 17, 2022 at 10:37

1 Answer 1

0

I think it's either the credentials are wrong, the region used is wrong or the credentials are invalid.

Sign up to request clarification or add additional context in comments.

4 Comments

This is a comment not an answer
It is 3 answers to a question that can have 3 possibles. What was your answer?
No, it's not an answer. You can check How to Answer. For a good answer, you should explain why it can be one of them, how to know which is of them, how to fix etc
I dont see why you need a step-by-step guide to updating your credentials file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.