I have the following issue when the function is launched in firebase (I am using the extension)
{
"textPayload": "Error: Not Found\n at Request._callback (/workspace/node_modules/@elastic/app-search-node/lib/client.js:95:26)\n at Request.self.callback (/workspace/node_modules/request/request.js:185:22)\n at Request.emit (events.js:400:28)\n at Request.emit (domain.js:537:15)\n at Request. (/workspace/node_modules/request/request.js:1154:10)\n at Request.emit (events.js:400:28)\n at Request.emit (domain.js:537:15)\n at IncomingMessage. (/workspace/node_modules/request/request.js:1076:12)\n at Object.onceWrapper (events.js:519:28)\n at IncomingMessage.emit (events.js:412:35)",
"insertId": "636519a1000a1c271720f157",
"resource": {
"type": "cloud_function",
"labels": {
"function_name": "ext-firestore-elastic-app-search-shipToElastic",
"project_id": "xxxx",
"region": "europe-west1"
}
},
"timestamp": "2022-11-04T13:54:41.662567Z",
"severity": "ERROR",
"labels": {
"execution_id": "jux5w6uxq8ol",
"instance_id": "xxxx"
},
"logName": "xxxx",
"trace": "xxxx",
"receiveTimestamp": "2022-11-04T13:54:41.704960378Z"
}