Skip to main content
Stefan22618829j4fh
Participant
February 18, 2022
Question

Mandatory output elementsInfo not generated by chain

  • February 18, 2022
  • 0 replies
  • 134 views

Hi,

when using the PDF extract api i can successfully submit a request using the following contentAnalyzerRequest

{
  "cpf:engine": {
    "repo:assetId": "urn:aaid:cpf:58af6e2c-1f0c-400d-9188-078000185695"
  },
  "cpf:inputs": {
    "documentIn": {
      "cpf:location": "ExtractDocumentInput",
      "dc:format": "application/pdf"
    },
    "params": {
      "cpf:inline": {
        "elementsToExtract": [
          "tables"
        ],
        "tableOutputFormat": "excel",
        "renditionsToExtract": [
          "tables"
        ]
      }
    }
  },
  "cpf:outputs": {
    "elementsInfo": {
      "cpf:location": "ExtractDocumentJson",
      "dc:format": "application/json"
    },
    "elementsRenditions": {
      "cpf:location": "ExtractDocumentOutput",
      "dc:format": "text/directory"
    }
  }
}

When i then use the status endpoint i receive the following error:

 

Internal Error. [Component: Engine. Error: Mandatory output elementsInfo not generated by chain.]

Is something wrong with my request ? I also tried multiple different pdf files including some created from an office document using the PdfCreate operation.

Thank you in advance,

Stefan

This topic has been closed for replies.