take out code around where its messing up and add ...
# advancedpdf
c
take out code around where its messing up and add it back in until you see the issue
n
Yes, I would normally do that but NetSuite isnt returning an error in the line on save of the template or execution from the transaction. This is all I get: "An unexpected error has occurred. Please click here to notify support and provide your contact information." Support tells me its an image size issue. We dont have an images on the template, nor any img tags so.... its a 1500 line template, so going line by line 🤯
d
if NS support's not any more help, I would try Chris' approach and start culling code binary-tree style. ofc you can't just delete half of the lines arbitrarily, but it's normally pretty straight forward to isolate big chunks and work your way down
e
Divide and conquer, go for the first half of lines, if the issue persist, go with the other half and so on.