Api gateway response not up to date

0

I have a problem with the responses from the api gateway not being up to date.

My method schema looks like this:

schema

Let me explain, the lambda returns me a list sought in the DynamoDB.

The DynamoDB and lambda response logs are good, i.e. it corresponds to the state of my list only when I have the return from an api tool (Postman, insomnia, curl, etc. ) the answer is not up to date. I still have results that I shouldn't have anymore.

I did not activate the cache in the gateway API, nor in the lambdas, nor in the client with no-cache requests.

I use the cognito service for api authentication with an id token and I deploy my IaC from terraform.

Do you have any idea where it could come from?

Thanks !

1 Answer
0

Are you redeploying your stage?

profile picture
EXPERT
answered 10 months ago
  • Yes, and in the console AWS, i see nothing error

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions