Response status code does not indicate success: 500 (Internal Server Error)

Hi, after running for few months without any problem, suddenly this error appears on the Assistants bots while trying to upload data to a Storage Bucket in Orchestrator (20.4.1) and the whole job fails because of that. Full error:

Response status code does not indicate success: 500 (Internal Server Error).

RemoteException wrapping System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
at UiPath.Core.Activities.TaskExtensions.ThrowIfNeeded(Task task, Boolean suppresThrowException)
at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity.ThrowIfNeeded(AsyncCodeActivityContext ctx, Task task, Boolean suppresThrowException)
at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

I do not have any clue why this happens. Could you please help?

@atoi

As it is showing HTTP Call, you can check using postman

Also check any settings were changed by any chance

Hope this may helps you

Thanks

I found the error and I was able to resolve it. The problem was with the length of the filename that was being sent to the Storage Bucket in Orchestrator. Apparently, the filename’s length itself was 58 characters. I also added hour, minutes, seconds and some random prefix text to the final filename. I reduced the filename beforehand and it worked.

2 Likes