Question “Cannot read property ‘replace’ of undefined” error

  • 17 March 2022
  • 1 reply

I'm trying to set Zapier plugin to fill HTML Template with json datas in order to create PDF. I selected "2. HTML to PDF Converter in" action.

In "Set up action" section, I filled HTML Template Id field with the template ID I created on app.pdf.cp/template/html.

I filled HTML Template Data field with a basic json ({"test":"hello"}).



But, when I submit "Test and review", I have this error message :


Here is the HTML template I use in application :

enter image description here

Otherwise, PDF creation from this template works perfectly well from application. The issue seems to be on Zapier side. What do I do wrong ?

Thanks for your help

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @Titouan 

Good question.

Check your capitalization: test VS Test