Passing Info through URL to Create PDF's (URL Too Long)

Have been using the method @Loqode created to make PDF’s and its been working wonderfully. Getting an error though with some of my documents and it seems like its because the URL is too long…passing too much information in through the URL.

Here is an example of one that works…

(Warning, these will open the print dialogue if clicked.)

Working PDF

Non Working PDF

Is this just a limitation of this specific method of creating PDF’s? Wondering if any potential workarounds exist except for just reducing information on my PDF.

Is your url below 2048 characters?

Its 4303…Thanks for letting me know the limit though, at the very least I can tell the user if the create PDF button will work or not!