我最近接触了谷歌语音 API,并试图让官方的 Node.js 演示工作。
但是当我使用 .flac 文件(从我的手机记录并转换)来测试演示时,我从 Google 语音 API 服务器收到了这个错误:
Got audio file!
Analyzing speech...
{ Error: Aborted: internal server error -83104
at Request._callback (~/work/demo/nodejs-docs-samples/speech/node_modules/google-auth-library/lib/transporters.js:85:15)
at Request.self.callback (~/work/demo/nodejs-docs-samples/speech/node_modules/request/request.js:198:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (~/work/demo/nodejs-docs-samples/speech/node_modules/request/request.js:1057:14)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (~/work/demo/nodejs-docs-samples/speech/node_modules/request/request.js:1003:12)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
code: 409,
errors:
[ { message: 'Aborted: internal server error -83104',
domain: 'global',
reason: 'aborted' } ] }
并且音频文件都不会作为gs://
前缀 URI 上传到 Google 云存储,base64 字符串内容也不能在 PostMan/curl 中使用。总是得到internal server error -83104
。
我不知道这个错误代码代表什么意思,有人可以帮忙吗?