QuestionQ50

Snowflake Document AI

A Gen AI Specialist used the ACCOUNTADMIN role to invoke the <mode1_build_name>!PREDICT method on a Document AI model build and received this error:

\{ "processingErrors": [ "File extension does not match actual mime type. Mime-Type: application/octet-stream" ] \}  

What is the MOST LIKELY cause?

  • A The file URL has expired and must be regenerated.
  • B The documents that the query tried to process do not meet the Document AI requirements.
  • C The SNOWFLAKE_SSE encryption type was not specified when creating the internal stage that will be used to store the documents.
  • D The CREATE SNOWFLAKE.ML.DOCUMENT_INTELLIGENCE privilege was not granted to the ACCOUNTADMIN role.
Explanation

A file whose extension conflicts with its detected MIME type is not a valid supported document input. application/octet-stream indicates that the uploaded content could not be identified as the document type claimed by its extension, so the documents fail the Document AI input requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!