Status code error- DAP-RT-1101 for content generation activity

UiPath.IntegrationService.Activities.Runtime.Exceptions.RuntimeException: Request failed with error: upstream request timeout
Status code: GatewayTimeout. Error code: DAP-RT-1101. at UiPath.IntegrationService.Activities.Runtime.Services.ExecutionService.SendMultipartRequestAsync(String requestUri, ExecutionParameters executionParameters, HttpMethod httpMethod, String multipartName, ICollection`1 jitInputs, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Services.ExecutionService.ExecuteOperationAsync(ExecutionParameters executionParameters, ConnectorActivityConfiguration activityConfiguration, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Activities.ConnectorActivity.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.IntegrationService.Activities.Runtime.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

while extracting content using content generation activity I am getting this error inconsistently . I ran for 40 files and run was successfull and after that when I ran for 1 file it is throwing this error.

Hi @kevinj

Open the HTTP Request activity and increase the Timeout value to a higher number, like 60000 ms for 60 seconds. Next, use the Retry Scope activity to wrap the HTTP Request, set the Retry Count to around 3 and Interval to 5 seconds, ensuring it retries a few times before failing. Lastly, wrap the HTTP Request in a Try Catch block to handle any TimeoutException and either retry or log the error as needed.

Happy Automation

Hi @prashant1603765 FYI I am not using HTTP request activity I am using content generation activity and in my output logs I am receiving this error for the specified activity run

Check below link, might be helpful.

OR

@kevinj thank you for raising this to our attention.
This is not a Studio issue.
It is an issue that lies between activity - context grounding service - integration service.
I created an item and added to the right team backlog.

Meanwhile can you try and see if using Retry Scope or Try Catch works as a workaround?

1 Like

Any progress on the origin of this error?

@Koen_Hendrikx after my continuous debugging I found that there is a file created in the system which is in unsupported format and hidden. So, when i use for each item in a folder to read the files this particular file was appearing. I need to recreate the folder for removing the file. Then I reran the activity and was working fine.

ok thx, I’ll give it a try