I try to update my data source but :
Contenu de la réponse : {'error': {'code': '', 'message': "The request is invalid. Details: The property 'dataToExtract' does not exist on type 'Microsoft.Azure.Search.V2024_05_01_Preview.DataSource' or is not present in the API version '2024-05-01-preview'. Make sure to only use property names that are defined by the type."}}
And
Contenu de la réponse : {'error': {'code': '', 'message': "The request is invalid. Details: The property 'dataToExtract' does not exist on type 'Microsoft.Azure.Search.V2024_05_01_Preview.DataSource' or is not present in the API version '2024-05-01-preview'. Make sure to only use property names that are defined by the type."}}
So, how do I update it ? I also try with api-version=2020-06-30, got the same error.
If you were talking about the indexer defintion, I already have this configuration for my indexer :
"configuration": {
"dataToExtract": "contentAndMetadata",
"parsingMode": "text",
"indexedFileNameExtensions" : ".pdf, .docx, .txt",
"excludedFileNameExtensions" : ".png, .jpg"
}
I Can't add the block
"fileDataSettings": { "dataFormat": "application/vnd.openxmlformats-officedocument.wordprocessingml.document" }
it returns me
<Response [400]>
❌ Erreur 400: {"error":{"code":"","message":"The request is invalid. Details: Value cannot be null. (Parameter 'edmType')"}}
at the indexer creation.