Improve build_request_path error messages