Construcl URL too long

I use my glide app to manage jobs and I’m trying to add an invoice section.

I’ve used Loqode’s method and it works fine, but the HTML that I want to add is too long so when the link is opened it i get:

400 Bad Request
Request Header Or Cookie Too Large

How it works:
Construct URL that points to a Template column where I have HTML for the invoice template.
When i press a button, it opens the construct URL.

Is there a way around this? I’ve tried short.io but even with the short URL, once you open the link it points to the long link and gets the error again.