When I exceed a certain number of elements on the page, it seems that even if the image call works (https://exp-plant.draw.io/plantuml4/png/...) that it generates an image when I load it separately on another tab. However, the image is generated in confluence, it tries to append the code in the (https://<CompanyName>.atlassian.net/wiki/rest/tinymce/1/macro/placeholder) call shortly after. This part fails and so the image is not displayed on the page with the plugin even though the image is available in my attachments.
What is weird is that the base64 in the url generated by https://exp-plant.draw.io/plantuml4/png/ is different than the src that fails, which is pointing to https://<CompanyName>.atlassian.net/wiki/plugins/servlet/confluence/placeholder/macro?definition=...
If it used the same url and/or encoding, it wouldn't exceed the size for a url (the first url is much smaller but still generates a large image).
For now, I'm just copying the images generated at https://plantuml.com/ and putting it into the confluence (not ideal).
Edit 1:
Found some more information, when I went to edit a diagram that I did like a a few weeks (which worked fine a few weeks ago), it now fails the same way the new diagram did for the same reason. I wonder if something changed in the confluence ui that is now breaking things.
Edit 2:
If I create a new diagram, save and publish. Then I go back and add the complex diagram. Even though it errors out, when I go back and refresh the page, the diagram shows up. Now, the plantuml code doesn't save at all to the plugin, but I can get the image to show. I think this is a text size limit and not an image size limit.