this get converted to 500. you want 400 which is bad request.