Check the error message on the preview screen by clicking the "Preview PDF" button on the OFC_Template record page. More detailed error messages will be displayed in the preview.
In Ver.2, when a PDF error occurs, the error message "An internal server error has occurred" is not displayed. The details of the error will be displayed without the preview, so please consider using Ver.2.