Skip to main content
Participant
May 28, 2024
Answered

Document generation failing when JSON has html tags

  • May 28, 2024
  • 1 reply
  • 532 views

Hi,

 

The doc genration is failing when JSON has any html tags. Follwing is one of the example

{
"Sample field": "<p>Test</p> <p><em><strong>Test</strong></em></p>"
}

 

Referring in the document template as {{Sample field}}

 

API failing with the following error 

 Name  Value 
 code  INVALID_JOB_ID 
 message  Invalid job id present in path param. 

Can someone help us if we are missing anything wrong here.

This topic has been closed for replies.
Correct answer Raymond Camden

If you try that with the playground, does it work? https://documentservices.adobe.com/dc-docgen-playground/index.html#/

 

I ask because your error does not seem related to the content.

1 reply

Raymond Camden
Community Manager
Raymond CamdenCommunity ManagerCorrect answer
Community Manager
May 28, 2024

If you try that with the playground, does it work? https://documentservices.adobe.com/dc-docgen-playground/index.html#/

 

I ask because your error does not seem related to the content.

Sampath kAuthor
Participant
May 29, 2024

Thank you. It helped us in debugging the issue.