Content Comprehension: The model stopped returning values and now only outputs data types

Sergio 0 Reputation points
2025-12-05T10:21:54.7866667+00:00

Hi,

I’m using Azure AI Services – Content Comprehension with a custom analyzer to extract structured data from invoice PDFs.

Until recently, the API was correctly returning the values for each field (for example: CompanyName, InvoiceNumber, TotalAmount, etc.). I did not change my schema or my request code, but now the response has changed and it only returns the data types, not the actual values.

Here is an example of the kind of response I’m getting now (sample data is synthetic and redacted):

{
  "status": "Succeeded",
  "result": {
    "contents": [
      {
        "path": "invoice",
        "fields": {
          "CompanyName": {
            "type": "string"
          },
          "InvoiceNumber": {
            "type": "string"
          },
          "SaleDate": {
            "type": "date"
          },
          "TotalAmount": {
            "type": "number"
          },
          "Items": {
            "type": "array"
          }
        },
        "kind": "document",
        "mimeType": "application/pdf"
      }
    ]
  }
}

Previously, I was getting values like this:

"CompanyName": {
  "type": "string",
  "value": "ACME SUPERMARKETS S.A."
},
"InvoiceNumber": {
  "type": "string",
  "value": "F-2024-00123"
}

But now I only get:

"CompanyName": { "type": "string" }

No value or content is being returned anymore.

Azure AI Document Intelligence
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.