Ok finally figured out that the xml template we we...
# suitescript
e
Ok finally figured out that the xml template we were loading to generate the PDF was in a folder with restrictions. Moved that template file out of the folder and put it in an accessible location and it works now.