[Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate


If you have downloaded the standalone desktop version of DynamoDB on your device and when you try to run the server on http://localhost:8000/shell or 127.0.0.1/shell and you get the below error,

{"__type":"com.amazonaws.dynamodb.v20120810#

MissingAuthenticationToken","Message":"
Request must contain either a valid (registered)
AWS access key ID or X.509 certificate."}
Chrome Browser:
This site can't be reached
The webpage at http://localhost:8000/shell might be 
temporarily down or it may have moved 
permanently to a new web address.
ERR_INVALID_RESPONSE
Safari
Safari Can't Connect to the Server
Safari can't open the page "localhost:8000/shell/" 
because Safari can't connect to the server "localhost".


Reason:

DynamoDB Local Web Shell was deprecated with version 1.16.X and is not available any longer from 1.17.X to latest. There are no immediate plans for a new Web Shell to be introduced.

Reference: https://repost.aws/questions/QUHyIzoEDqQ3iOKlUEp1LPWQ#ANdBm9Nz9TRf6VqR3jZtcA1g

Solution:

- Download the old version of DynamoDB Local < 1.17.0

- Better to use DynamoDB Local on Docker Desktop with older image,

% docker pull dynamodb-local:1.16.0

✏️ Installing DynamoDB Desktop on Docker Container: link

Advertisements
Try Out Code2care Dev Tools:

Advertisements

Advertisements
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.