Skip to main content
Participant
May 28, 2024 6:01 AM UTC
Answered

Document generation failing when JSON has html tags

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.
Raymond Camden
Raymond CamdenCorrect answer
Community Manager
May 28, 2024 1:22 PM UTC

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 1:22 PM UTC

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.

Translate
Sampath kAuthor
Participant
May 29, 2024 2:29 AM UTC

Thank you. It helped us in debugging the issue. 

Translate