when i test it, i don't get response back to my requests. for instance, when i create a user in the cli i see the user json object with a pk value, so i assume it has been created in the db, but i don't get any response in postman. probleme resolved: the items where not added to the database. I was getting an empty response because no body is set on the internalServerErrorResponse function. I changed the credentials in the getDBConnection and it worked.
First of all, thanks for the really helpful video. I'm trying to run your project but am getting the error bellow: UnrecognizedClientException: The Access Key ID or security token is invalid Any idea on how to solve it?
This mainly due to recent updates to the dynamodb client It is not obvious by looking at their code repository however you need to provide proper aws credentials(same format) and it will work Or use the exact version which was used in the video
Awesome video! I'm running into the same issue as @filipemenezes4741 package-lock.json exists in your repo, that means that doing npm install will keep the same versions@@dev.channel are being able to make run at this moment?
@@CarlosCarrascoMigliorini yes, I managed to get it to run. I fixed the issue by changing the accessKeyId value from "MOCK_ACCESS_KEY_ID" to "SECRET" and the secretAccessKey value from "MOCK_SECRET_ACCESS_KEY" to "SECRET" inside the node_modules/serverless-dynamodb-local/index.js file.
@@CarlosCarrascoMigliorini, yes, I was able to make it run. I had to change the node_modules/serverless-dynamodb-local/index.js file setting the value for accessKeyId and secretAccessKey as "SECRET".
when i test it, i don't get response back to my requests. for instance, when i create a user in the cli i see the user json object with a pk value, so i assume it has been created in the db, but i don't get any response in postman.
probleme resolved:
the items where not added to the database. I was getting an empty response because no body is set on the internalServerErrorResponse function. I changed the credentials in the getDBConnection and it worked.
First of all, thanks for the really helpful video.
I'm trying to run your project but am getting the error bellow:
UnrecognizedClientException: The Access Key ID or security token is invalid
Any idea on how to solve it?
This mainly due to recent updates to the dynamodb client
It is not obvious by looking at their code repository however you need to provide proper aws credentials(same format) and it will work
Or use the exact version which was used in the video
Awesome video!
I'm running into the same issue as @filipemenezes4741
package-lock.json exists in your repo, that means that doing npm install will keep the same versions@@dev.channel
are being able to make run at this moment?
@filipemenezes4741 were you able to make it run?
@@CarlosCarrascoMigliorini yes, I managed to get it to run. I fixed the issue by changing the accessKeyId value from "MOCK_ACCESS_KEY_ID" to "SECRET" and the secretAccessKey value from "MOCK_SECRET_ACCESS_KEY" to "SECRET" inside the node_modules/serverless-dynamodb-local/index.js file.
@@CarlosCarrascoMigliorini, yes, I was able to make it run. I had to change the node_modules/serverless-dynamodb-local/index.js file setting the value for accessKeyId and secretAccessKey as "SECRET".