Getting error while creating indexer
Vishal Thakur
5
Reputation points
URL:
POST: https://{{AZURE_SEARCH_SERVICE_NAME}}.search.windows.net/indexers?api-version=2023-10-01-Preview
BODY:
{
"name" : "sharepoint-indexer",
"dataSourceName" : "sharepoint-datasource",
"targetIndexName" : "sharepoint-index",
"parameters": {
"batchSize": null,
"maxFailedItems": null,
"maxFailedItemsPerBatch": null,
"base64EncodeKeys": null,
"configuration": {
"indexedFileNameExtensions" : ".pdf, .docx",
"excludedFileNameExtensions" : ".png, .jpg",
"dataToExtract": "contentAndMetadata"
}
},
"schedule" : { },
"fieldMappings" : [
{
"sourceFieldName" : "metadata_spo_site_library_item_id",
"targetFieldName" : "id",
"mappingFunction" : {
"name" : "base64Encode"
}
}
]
}
ERROR:
{
"error": {
"code": "",
"message": "Error with data source: Unexpected keyword 'n' in query property. Please adjust your data source definition in order to proceed."
}
}
Sign in to answer