Use default error message with statusCode

We should return default error with the correct status code (400).