• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

unable to convert doc to pdf using Adobe PDF Services API

New Here ,
Aug 29, 2022 Aug 29, 2022

Copy link to clipboard

Copied

want to convert doc file to pdf file using Adobe pdf service api

In short it has two parts:
1. make a post request ( providing require parameters  ) and from header take x-request-id  
2. make a get request ( providing require parameters  ) and as responce you will get your pdf documet 

it is working fine for docx to pdf, but for doc to pdf it is showing this responce instead of pdf document

{
    "cpf:inputs": {
        "documentIn": {
            "cpf:location": "InputFile0",
            "dc:format": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
        }
    },
    "cpf:engine": {
        "repo:assetId": "urn:aaid:cpf:Service-1538ece....caac2a07799503a430"
    },
    "cpf:status": {
        "completed": true,
        "type": "",
        "title": "For application/vnd.openxmlformats-officedocument.wordprocessingml.document mime-type The input file appears to be corrupted and cannot be processed.; transactionId=XcYuSVqy7s80GL897ZHhQGU5nEl0D5Xp",
        "status": 400,
        "report": "{\"error_code\":\"CORRUPT_DOCUMENT\"}"
    }
}

PS1 - i tryed d/f -2 doc files but not working for any of that 
PS2 - in document it is saying that this api can convert doc to pdf click me to see documentation 

TOPICS
Bug , PDF Embed API , PDF Services API

Views

225

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources