问题
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