Getting file is corrupted or format is unsupported error when we try to Analyzexlsm format

Srikanth Penmetsa 0 Reputation points
2024-08-09T11:07:09.4166667+00:00

Hi,

We are trying to analyse a xlsm format file in RAG AI for the below URL.

[https://doc-intelligence-ta-3.cognitiveservices.azure.com//documentintelligence/documentModels/prebuilt-layout:analyze?api-version=2024-02-29-preview&outputContentFormat=markdown](https://doc-intelligence-ta-3.cognitiveservices.azure.com//documentintelligence/documentModels/prebuilt-layout:analyze?api-version=2024-02-29-preview&outputContentFormat=markdown

)

We are getting the below error. Please suggest.

{"error":{"code":"InvalidRequest","message":"Invalid request.","innererror":{"code":"InvalidContent","message":"The file is corrupted or format is unsupported. Refer to documentation for the list of supported formats."}}}

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,092 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,618 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 27,545 Reputation points Microsoft Employee Moderator
    2024-08-09T11:25:08.3+00:00

    @Srikanth Penmetsa Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    .

    The Versions 2024-02-29-preview, 2023-10-31-preview, and later support Microsoft office (DOCX, XLSX, PPTX) and HTML files.

    Azure AI Document Intelligence currently supports the following file formats for document analysis:

    • PDF
    • Images: JPEG/JPG, PNG, BMP, TIFF, HEIF
    • Microsoft Office: Word (DOCX), Excel (XLSX), PowerPoint (PPTX)
    • HTML

    More info here.

    .

    Hope this helps.

    0 comments No comments

Your answer

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