Error: Document size 300kb exceeds max_document_size_kb=256

Hello Allan and Team,

Please help … I was importing the project, and one of four workflows would not allow me to continue, as there is a file size limit .. is there a way to temporarily increase the limit until I cleansed the specific workflow?

[10:17:41.884][Output] server error: {“stack”:“Error: Document size 300kb exceeds max_document_size_kb=256 (command=insertone.openrpa)\n at Util.assertMaxDocumentSize (file:///app/dist/Util.js:93:19)\n at DatabaseConnection.InsertOne (file:///app/dist/DatabaseConnection.js:1862:18)\n at Message.InsertOne (file:///app/dist/Messages/Message.js:1590:42)\n at Message.QueueProcess (file:///app/dist/Messages/Message.js:104:36)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///app/dist/QueueClient.js:44:21”,“message”:“Document size 300kb exceeds max_document_size_kb=256 (command=insertone.openrpa)”}
[10:17:41.598][Output] server error: {“stack”:“Error: Document size 272kb exceeds max_document_size_kb=256 (command=insertone.openrpa)\n at Util.assertMaxDocumentSize (file:///app/dist/Util.js:93:19)\n at DatabaseConnection.InsertOne (file:///app/dist/DatabaseConnection.js:1862:18)\n at Message.InsertOne (file:///app/dist/Messages/Message.js:1590:42)\n at Message.QueueProcess (file:///app/dist/Messages/Message.js:104:36)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///app/dist/QueueClient.js:44:21”,“message”:“Document size 272kb exceeds max_document_size_kb=256 (command=insertone.openrpa)”}
[10:17:41.160][Output] Adding workflow Progressive-AMS-Login
[10:17:40.860][Output] Adding workflow Progressive-Data-Cleansing
[10:17:39.367][Output] *** Begin Importing project

Massive thanks,

Dante

Hi Allan,

Hope you could help us, this is a production environment we use to process everyday :folded_hands:

Massive thanks,

Dante

You can update max_document_size_kb under config

Hi Allan,

I can’t seem to locate the config …

Massive thanks,

Dante

Oh, I thought you were using your own OpenCore since you mentioned production and development as separate deployments in the other topic.
Yeah, you cannot change settings for https://app.openiap.io. I had to limit this since a small group of people were misusing the system and making my installation run unstable and sometimes crash.

I have temporarily increased the setting. Please let me know when you’re done. If I don’t hear anything within the next few hours, I will turn it down again.

Appreciate it Allan. Now I have to plan to reduce that workflow in terms of file size :slight_smile: … done importing .. super massive thanks

If you used the export workflow feature from within OpenRPA, it embeds all images as base64 strings into the Xaml/JSON file. When you then import it into OpenRPA, it still keeps the size. However, once you make a change and save it the second time, it will extract all images and store them as files inside the database separate from the workflow, making the workflow much smaller.