-
Hi, This is how I set up my ddb_client Here is the error on my vercel function real time logs: error: AccessDeniedException: User: arn:aws:sts::00359*******:assumed-role/cloudwatch_logs_events_putter/..... is not authorized to perform: dynamodb:PutItem on resource: arn:aws:dynamodb:us-east-1:.........:table/table_name I used my admin IAM account to create a user with [AmazonDynamoDBFullAccess] permission. In the page, I used js Fetch to call nextjs API: I am not getting any errors locally, why am I getting errors on my vercel deployed app, has anyone had this error before? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I am running into the same thing. Did you ever resolve this issue? |
Beta Was this translation helpful? Give feedback.
-
All of a sudden my NextJS has started getting this, it was working completely fine for months before. Did not make any changes. Works fine on my local... |
Beta Was this translation helpful? Give feedback.
I have an example here you can check out! https://github.com/leerob/nextjs-aws-dynamodb