You may notice that I’ve used the “URL1/2” because I was testing different scenarios. At first I was “strURL” to download the file inside the activity.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden). at UiPath.Core.Activities.TaskAsyncCodeActivityWithResult1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Downloading a single file—even something random like the Forum logo image URL—works fine. The issue only occurs when I try to download two different URLs in the same sequence.