【发布时间】:2022-11-03 13:42:50
【问题描述】:
我收到 400 请求失败,错误为 400 BadRequest。但是,当我选择浏览时,我可以看到数据。
完整的错误如下:
{
"errorCode": "2200",
"message": "ErrorCode=HttpRequestFailedWithClientError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Http request failed with client error, status code 400 BadRequest, please check your activity settings. If you configured a baseUrl that includes path, please make sure it ends with '/'.\nRequest URL: https://pm2.preqinsolutions.com/identityCore/connect/token.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.WebException,Message=The remote server returned an error: (400) Bad Request.,Source=System,'",
"failureType": "UserError",
"target": "Copy data1",
"details": []
}
当我浏览 SINK 时,您会注意到数据从源中可见,所以我不明白为什么会出现错误:
链接服务如下:
关于如何解决此错误的任何想法?
【问题讨论】:
-
您是否尝试按照错误消息并在 URL 末尾添加
/? -
嗨 Saideep,现在就试试。
-
嗨 Saideep,仍然遇到同样的错误。有什么进一步的建议吗?
-
抱歉,Saideep,我的意思是在添加正斜杠后/我没有收到错误
Http request failed with client error, status code 404 NotFound -
您可以使用网络活动并使用 GET 方法调用您的 URL 并检查是否返回响应? (或抛出错误?)