【问题标题】:Azure Synapse web activity calling "pipelineruns" rest api , fails with "failureType": "UserError"调用 \"pipelineruns\" rest api 的 Azure Synapse 网络活动失败,并显示 \"failureType\": \"UserError\"
【发布时间】:2023-01-30 14:54:04
【问题描述】:

我有带有网络活动的 Azure Synapse 管道。我想调用“pipelineruns”rest api 来获取管道的运行详细信息。 我正在为网络活动使用以下设置 网址: https://workspacename.dev.azuresynapse.net/pipelineruns/d855ac65-4196-45b7-8b8f-3899e3cd14f6?api-version=2020-12-01 方法:获取 身份验证:系统管理的身份 资源:https://dev.azuresynapse.net

我收到以下错误 排查活动失败 { “错误代码”:“2108”, “消息”:“{\n“类型”:“https://tools.ietf.org/html/rfc7231#section-6.5.4”,\n“标题”:“未找到”,\n“状态” : 404,\n "traceId": "00-b12c13a9e429cd4c998fc4a7c9c2d06e-85c4dbbbf7c29144-00"\n}", “失败类型”:“用户错误”, “目标”:“Web1”, “细节”: [] }

同样的管道在另一个环境中工作。有人可以帮忙吗?

我在另一个环境中尝试过并且有效

【问题讨论】:

    标签: azure-synapse


    【解决方案1】:

    根据MS_Doc,我在环境中重现了同样的内容。我尝试使用以下过滤器工作正常。

    1.以上次更新时间为准

    {  
      "lastUpdatedAfter": "2022-06-16T00:00:00.0000000Z",  
      "lastUpdatedBefore": "2023-01-30T05:18:53.027417Z"  
    }
    

    2.last更新时间与运行状态

    {  
      "lastUpdatedAfter": "2022-06-16T00:00:00.0000000Z",  
      "lastUpdatedBefore": "2023-01-30T05:18:53.027417Z",  
      "filters": [  
        {  
          "operand": "Status",  
          "operator": "Equals",  
          "values": [  
            "Pipeline 1"  
          ]  
        }  
      ]  
    }
    

    想要查询更多的信息参考这个link

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-27
      • 2021-01-26
      • 2019-04-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-17
      • 1970-01-01
      相关资源
      最近更新 更多