Return error responses for bad requests to v1 API
This MR updates the v1 API to return the same error responses under the same conditions as the original LDR implementation.
Edited by Duncan Macleod
This MR updates the v1 API to return the same error responses under the same conditions as the original LDR implementation.