.net - DynamoDB Local throws http 400 bad request -
i trying run dynamo db local released aws week ago through .net sample provided amazon.
amazondynamodbconfig config = new amazondynamodbconfig(); config.serviceurl = "http://localhost:8000"; client = new amazondynamodbclient(config); console.writeline(); console.writeline("creating sample tables"); createsampletables(); public static void createsampletables() { console.writeline("getting list of tables"); //this line throws error list<string> currenttables = client.listtables().listtablesresult.tablenames;
exception of type 'amazon.dynamodb.amazondynamodbexception' thrown.
inner exception: {"the remote server returned error: (400) bad request."}
i tried call localhost:8000 using browser, , same error
this error (http 400 bad request) means internet explorer able connect web server, webpage not found because of problem address.
any appreciated!
without seeing code, initial guess still using amazon.dynamodb namespace , not amazon.dynamodbv2 namespace. amazon dynamodb local tool supports latest dynamodb api.
thanks!
Comments
Post a Comment