twilio - Twilio 函数结束运行时
问题描述
我在尝试创建将从 flex 实例调用的函数时遇到问题。问题是我得到了运行时应用程序超时错误。我知道 twilio 将如何杀死任何持续时间超过 5 秒的功能。我想做这个https://www.twilio.com/docs/runtime/functions/faq?code-sample=code-return-a-simple-successful-response&code-language=Node.js&code-sdk-version=默认但它仍然是同样的问题。
...
client.recordings.each({ callSid: callSid }, recordings => {
/* code to do with recordings (this includes another function with the client) */
}, function(err, result) {
callback(err, Response);
});
解决方案
我发送了错误的 Call Sid,它没有录音。这导致它挂起,而不是仅仅进入回调。
推荐阅读
- git - Git 从具有历史记录的远程分支签出文件
- linux - 依次传递两个变量
- excel - 数组中的vba工作表名称但不显示
- realm - 无法删除领域用户
- solid-principles - 引用 SOLID 原则时,“客户”是什么意思?
- azure - Azure 应用程序网关返回 502
- floating-point - 反复规范化 IEEE 浮点向量会使其发生变异吗?
- object - 如何检查 tensorflow object_detection 中的训练/评估性能
- dialogflow-es - Dialogflow 响应中缺少输出音频
- java - Maven deploy -x 给出 Failed to deploy artifacts ....拒绝访问:http://