Skip to main content
Participant
May 28, 2024
Answered

Document generation failing when JSON has html tags

  • May 28, 2024
  • 2 replies
  • 546 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 is closed to new replies. Start a new post to keep the conversation going.
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.

2 replies

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.