UiPath Robot Error after the process is executed

an error appeared while executing the process
Error message : could not retrieve the result of the job execution. This might be because a message was too large to process

I have already gone through similar topics on the forum and couldn’t file a solution for the same .

Request the forum folks to kindly help me out on the same

Hello @Aditya_Rikame!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hi @Aditya_Rikame,
We need more details. Show us you process, describe it a little. There’s no one possible way why you have this errors. Without the details we can’t help.

Hi @Pablito This error occurs after the entire execution is complete . This doesn’t get captured in the logs as well . I have also debugged the entire solution but the behavior was same and the error was displayed after the execution was completed . Same behavior is observed when the solution is executed using standalone Robot as well .

Can you describe what your process is doing? Which activities are used? And please attach full error details.

Can you find anything related in Event Viewer?

Process involves Calling an rest API to create requests based on excel input and sending out emails to concerned folks . Activities include read excel , http request ,smtp , write range and logging activities .

Please find the whole error below :-
Message: Could not retrieve the result of the job execution. This might be because a message was too large to process.

Exception Type: System.Exception

RemoteException wrapping System.Exception: Could not retrieve the result of the job execution. This might be because a message was too large to process.


Below are the event viewer logs:-

UiPath.Service.Host 20.4.1.0
Finacle Audit Branch/344acea7-ad84-46a9-9841-a4d69b1cf796 finished with Failed (was Processing)
RemoteException wrapping System.Exception: Could not retrieve the result of the job execution. This might be because a message was too large to process.


UiPath.Executor 20.4.1.0
NotifyJobCompleted: System.IO.IOException: Pipe is broken.
at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
at System.IO.Pipes.PipeStream.EndWrite(IAsyncResult asyncResult)
at System.IO.Stream.<>c.b__53_1(Stream stream, IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncTrimPromise1.Complete(TInstance thisRef, Func3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.IOHelpers.<WriteMessage>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Connection.<SendMessage>d__33.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Nito.AsyncEx.TaskExtensions.<DoWaitAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.Connection.<Send>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass18_01.<<InvokeAsync>b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.IOHelpers.<WithTimeout>d__161.MoveNext()
— End of stack trace from previous location where exception was thrown —
at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass18_01.b__2(Exception ex)
at UiPath.CoreIpc.IOHelpers.d__161.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.CoreIpc.ServiceClient1.d__18`1.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Executor.RobotRunner.d__77.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Executor.RobotRunner.d__76.MoveNext(), HResult -2147024787

UiPath.Service.Host 20.4.1.0
ReceiveLoop UiPathRobotServices 34162884 # System.IO.InvalidDataException: Message too large. The maximum message size is 10 megabytes.
at UiPath.CoreIpc.IOHelpers.d__21.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Connection.d__36.MoveNext()

Thank you for this. It helped me with little investigation. I’m not 100% sure but here might be a solution for you:

We tried the solution ,but unfortunately this was not helpful and the error is still occuring.

Sorry to hear that. Just for testing purposes. Are you able to try this with much smaller file to check if it will show the same error?

We did try with a smaller file this error didn’t occur .Also we reduced the number of arguments and converted them to variables and the error didn’t occur with a bigger file as well . Thanks much for your support

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.