0

这是我的代码内容:

    EntityBaseClient client = new PurviewCatalogClientBuilder()
            .endpoint("https://signofftest0517.catalog.purview.azure.com")
            .credential(new DefaultAzureCredentialBuilder().build())
            .buildEntityBaseClient();
            DynamicRequest  request= client.getByGuid("3bb7fcf9-50ec-4218-97fb-25ac0a459e37");

            //3bb7fcf9-50ec-4218-97fb-25ac0a459e37  364e4e74-eb7c-4358-96bc-9b750cf275e2
            DynamicResponse  response=   request.send();
            int status= response.getStatusCode();
            System.out.println(status);

发送请求时失败

错误消息:线程“main”中的异常 java.lang.RuntimeException:超过最大重试次数 3 次。错误详细信息:在 6 次查询后无法解析“signofftest0517.catalog.purview.azure.com”

4

0 回答 0