Couldn't retrieve the result of the job execution.This might be because a message was too large to process

I developed custom activity which refreshes Excel file and reads it. When I run and debug it I get the following error after reading the excel file. I have out argument that takes the read datatable.

Studio: 2020.10.6 EnterpriseLicense
File size: 2.40MB
Can anyone help?


Did this thread helped in this scenario

Cheers @isil.boyuk

Activity has out argument as datatable. I found this solution to take datatable, increase the maxMessageSizeInMegabytes value in UiPath.config file but it gives an error and studio doesn’t work. Has anyone encountered this problem?