Fix returned error message for 412