Error publishing workflow. The request message is too big. The server does not allow messages larger than 2097152 bytes
is the workflow you are trying to publish a complex one containing a lot of actions? The error message is a SharePoint/o365 error message, there are certain limits to message size in CSOM.
Maybe you can try to split the workflow into several smaller ones. Another option may be to increase the allowed message size via powershell, as described here: Fixed: The request message is too big. The server does not allow messages larger than 2097152 bytes while uploading atta… , but I do not know if this works on O365.
I have found the best solution in these cases is to contact Nintex support - if you are able to do so. They have helped me every time I have had issues with my Nintex O365 workflows.
How did you fix this? I'm getting the same error when publishing a workflow.
Retrieving data ...