2014-03-25 14:10:36,114 Request: POST http://127.0.0.1:8080/v1/testtenantid/data/tables/nonexistent_table/put_item
2014-03-25 14:10:36,114 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
2014-03-25 14:10:36,114 Request Body: {"item": {"message": {"S": "message_text"}, "author": {"S": "Bob"}}}
2014-03-25 14:10:36,121 Response Status: 500
2014-03-25 14:10:36,121 Response Headers: {'date': 'Tue, 25 Mar 2014 12:10:36 GMT', 'content-length': '149', 'content-type': 'application/x-amz-json-1.0'}
2014-03-25 14:10:36,122 Response Body: {"__type":"com.amazonaws.dynamodb.v20111205#InternalServerError","message":"The server encountered an internal error trying to fulfill the request."}
Expected response status: 404
Expected response body:
{
"explanation": "The resource could not be found."
"code": 404
"error":
{
"message": "Table 'nonexistent_table' does not exists",
"traceback": null,
"type": "TableNotExistsException"
}
}
Fix proposed to branch: master /review. openstack. org/90718
Review: https:/