failed with error Code: 2200 when retriving the data from rest api in azure data factory

本小妞迷上赌 提交于 2019-12-11 15:38:19

问题


failed with error Code: 2200 when retriving the data from rest api source to sql db in azure data factory.

I have a rest api end point and i am connecting through azure data factory. Rest api returns the response in Json format and in different pages. each page contains 5000 records. i have achieved to retrieve the the pages by using foreach as shown in image.

Rest api design

in one date range i have 624 pages and the activity is sucessfull till 426 pages and upon started failing with below error.

    "errorCode": "2200",
    "message": "Failure happened on 'Source' side. ErrorCode=UserErrorFailToReadFromRestResource,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=A task was canceled.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Threading.Tasks.TaskCanceledException,Message=A task was canceled.,Source=,'",
    "failureType": "UserError",
    "target": "ReadNextPageFromAPI"
}

is there any issue when we have more items to iterate over on for each activity?

来源:https://stackoverflow.com/questions/57668632/failed-with-error-code-2200-when-retriving-the-data-from-rest-api-in-azure-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!