change response code to 400 for duplicate requests