Anyone here know how to increase the size quota of incoming messages? I am getting the following error when I am trying to retrieve the python object as a string after invoking a python method in UiPath Studio. Or anyone here has faced this issue and has any workaround?
**RemoteException wrapping System.InvalidOperationException: Error converting Python object —> RemoteException wrapping System.ServiceModel.CommunicationException: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota,
use the MaxReceivedMessageSize property on the appropriate binding element. —> RemoteException wrapping System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota,
use the MaxReceivedMessageSize property on the appropriate binding element.
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.ClientDuplexConnectionReader.DecodeMessage(Byte buffer,
Int32& offset,
Int32& size,
Boolean& isAtEOF,
TimeSpan timeout)
at System.ServiceModel.Channels.SessionConnectionReader.DecodeMessage(TimeSpan timeout)
at System.ServiceModel.Channels.SessionConnectionReader.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.SynchronizedMessageSource.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceive(TimeSpan timeout,
Message& message)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message,
TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action,
Boolean oneway,
ProxyOperationRuntime operation,
Object ins,
Object outs,
TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,
ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,
IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,
Int32 type)
at UiPath.Python.Service.IPythonService.Convert(Guid obj,
String t)
at UiPath.Python.Impl.OutOfProcessEngine.Convert(PythonObject obj,
Type t)
at UiPath.Python.Activities.GetObject1.Execute(CodeActivityContext context) --- End of inner exception stack trace --- at UiPath.Python.Activities.GetObject
1.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,
ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,
BookmarkManager bookmarkManager,
Location resultLocation)**
Here is the snapshot of my workflow
use the MaxReceivedMessageSize property on the appropriate binding element.