I am using the OpenAI > Transcribe Audio step, which returns an error. But the outcome is still considered successful, and the whole flow continues, but I think it shouldn’t. I am pasting my input and output below. Note that the output contains the bearer token, which may be censored as done in the input (I’ve censored it below myself).
Input
{
"auth": "**CENSORED**",
"audio": "file://step_1/1D9HtVdLnNMN311L1RoDnEvD-uvrT-Y6j.caf",
"language": "en"
}
Output
{
"_requestBody": {
"_overheadLength": 391,
"_valueLength": 1501285,
"_valuesToMeasure": [],
"writable": false,
"readable": true,
"dataSize": 0,
"maxDataSize": 2097152,
"pauseStreams": true,
"_released": true,
"_streams": [],
"_currentStream": null,
"_insideLoop": false,
"_pendingNext": false,
"_boundary": "--------------------------729484399270751121097038",
"_events": {},
"_eventsCount": 3
},
"_err": {
"message": "Request failed with status code 400",
"name": "AxiosError",
"stack": "AxiosError: Request failed with status code 400\n at settle (/usr/src/app/dist/cache/sandbox/FLOW-flowVersionId-9KA3gK5FFpv8h0g2IBHM5/node_modules/.pnpm/axios@1.4.0/node_modules/axios/lib/core/settle.js:19:12)\n at IncomingMessage.handleStreamEnd (/usr/src/app/dist/cache/sandbox/FLOW-flowVersionId-9KA3gK5FFpv8h0g2IBHM5/node_modules/.pnpm/axios@1.4.0/node_modules/axios/lib/adapters/http.js:570:11)\n at IncomingMessage.emit (node:events:526:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": ["xhr", "http"],
"transformRequest": [null],
"transformResponse": [null],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json",
"Content-Type": "multipart/form-data; boundary=--------------------------729484399270751121097038",
"Authorization": "**CENSORED**",
"User-Agent": "axios/1.4.0",
"Content-Length": "1501732",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"method": "post",
"url": "https://api.openai.com/v1/audio/transcriptions",
"data": {
"_overheadLength": 391,
"_valueLength": 1501285,
"_valuesToMeasure": [],
"writable": false,
"readable": true,
"dataSize": 0,
"maxDataSize": 2097152,
"pauseStreams": true,
"_released": true,
"_streams": [],
"_currentStream": null,
"_insideLoop": false,
"_pendingNext": false,
"_boundary": "--------------------------729484399270751121097038",
"_events": {},
"_eventsCount": 3
}
},
"code": "ERR_BAD_REQUEST",
"status": 400
}
}