Datastore index creation fails with confusing message

Thato Mokoena 1 Reputation point
2022-11-11T07:01:52.423+00:00

After adding a data source (a Cosmos DB), and using the indexer wizard, I get this (see image below) when trying to start/schedule the indexer.

259375-screenshot-from-2022-11-11-07-48-57.png

What I have tried:

  • checked the documents in the Cosmos DB and could not find the "_path" property,
  • removed and re-added the data source.

Not sure if/where there is more debug information to be found.
Can anyone advise/help?

Thanks.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
708 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 16,011 Reputation points
    2022-11-15T05:21:26.877+00:00

    Hi @Thato Mokoena ,

    thanks for bringing this to our attention. we are sorry you're facing this issue.

    you may be getting this error because your document was read and processed by the indexer, but due to a mismatch in the configuration of the index fields and the data extracted and processed by the indexer, it could not be added to the search index. Please take a look at this doc: EDM data types used in Azure Cognitive Search indexes and documents to make sure the data type is supported on Azure Cognitive Search .

    you can also try using the below REST API to configure a schedule:
    1.Call Create Indexer or Update Indexer.
    2.Set the schedule property in the body of the request:

    PUT /indexers/<indexer-name>?api-version=2020-06-30  
    {  
        "dataSourceName" : "myazuresqldatasource",  
        "targetIndexName" : "my-target-index-name",  
        "schedule" : { "interval" : "PT10M", "startTime" : "2021-01-01T00:00:00Z" }  
    }  
    

    Hope that helps. Please let us know if you have further questions

    Thanks,
    Grace


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments