0
Doc generation failing if JSON has some specific tags
New Here
,
/t5/acrobat-services-api-discussions/doc-generation-failing-if-json-has-some-specific-tags/td-p/15040554
Dec 15, 2024
Dec 15, 2024
Copy link to clipboard
Copied
Hi,
We are receiving input from external sources, as outlined in the attachment. However, document generation fails when we attempt to convert it to PDF. Apart from the outlined sample JSON, we need to include tags with the 'id', `img`, `doc`, and `table` tags. Could someone assist with this?
Cheers,
Sampath
TOPICS
Document Generation API
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/acrobat-services-api-discussions/doc-generation-failing-if-json-has-some-specific-tags/m-p/15042601#M9467
Dec 16, 2024
Dec 16, 2024
Copy link to clipboard
Copied
Your code looks like HTML, not JSON.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Sampath k
AUTHOR
New Here
,
/t5/acrobat-services-api-discussions/doc-generation-failing-if-json-has-some-specific-tags/m-p/15042972#M9470
Dec 16, 2024
Dec 16, 2024
Copy link to clipboard
Copied
We are passing the attached HTML code in the JSON
{
"Sample": "HTL code"
}
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-services-api-discussions/doc-generation-failing-if-json-has-some-specific-tags/m-p/15044408#M9475
Dec 17, 2024
Dec 17, 2024
Copy link to clipboard
Copied
The only supported HTML tags are listed here https://developer.adobe.com/document-services/docs/overview/document-generation-api/stylingformattin...
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

