Fix create path response code handling.