Error with custom PDF

Hi there,

I’m trying to customise the PDF output - and followed along with the YouTube tutorial.

When I ask it to create a PDF, I get an error message (I’ve uploaded a screenshot of the chat so you can see what it did/said).

thanks,https://drive.google.com/file/d/1lEfalMkNXn4aOuPUnH7RYZ6OfZNhxXCg/view?usp=sharing

@nathaniel you should check out this problem a user is experiencing with the generate pdf action

Looks like there’s a problem with your python code! While we can’t help everyone debug their code, asking chatGPT could be helpful.

In your case, one problem is it looks like you might be missing an equals sign before you template.

Maybe add that and give it a try!

Check out this thread: PDF Generator (Modified)