Getting error ???contents.error.alertMsg??? in Create PDF smart service of PDF tools pluggin

Certified Senior Developer

Hi,

I am using Create PDF smart service to generate a PDF with plain text.

Am getting the following error in the Create PDF node.

???contents.error.alertMsg???

Error Text: U+000A ('controlLF') is not available in the font Helvetica, encoding: WinAnsiEncoding

Am using the following expression to generate PDF contents

a!localVariables(
local!text:
 "Firstname Vikrant " & char(10) &
 "Lastname Bhardwaj " & char(10) &
 "Address 100 NW AVE " & char(10) &
 "City Irving " & char(10) &
 "Zipcode 12345 "&char(10) &
 "Country USA",
'type!{urn:appian:ps:pdftools}PdfContent'(
 sections:{
 'type!{urn:appian:ps:pdftools}PdfSection'( 
  style:'type!{urn:appian:ps:pdftools}PdfStyle'(
   font:"Times New Roman"
   ),
 components: {
  'type!{urn:appian:ps:pdftools}PdfText'(
  value:local!text
    ) 
   }
  )
 }
)
)

Please let me know if anyone faced a same issue and how to resolve it.

Thanks,

  Discussion posts and replies are publicly visible