为啥我在 Firebase Cloud Functions 中收到“无效信封”错误? [关闭]

Posted

技术标签:

【中文标题】为啥我在 Firebase Cloud Functions 中收到“无效信封”错误? [关闭]【英文标题】:Why am I getting "Invalid Envelope" errors in Firebase Cloud Functions? [closed]为什么我在 Firebase Cloud Functions 中收到“无效信封”错误? [关闭] 【发布时间】:2019-06-05 15:49:11 【问题描述】:

有时可调用 CloudFunctions 的响应 cloud_functions 0.0.5 抛出 CloudFunctionGenericException 带有“无效信封”消息。

这似乎没有特定原因发生, 并且没有任何内容记录到 Firebase 云函数日志中。

这种情况很少发生(大约每 10 次), 但破坏了应用逻辑。

为什么会发生这种情况以及如何解决?

【问题讨论】:

我每次都收到这个错误,不知道如何解决。 【参考方案1】:

插件还在开发中,请report your use case here。

【讨论】:

以上是关于为啥我在 Firebase Cloud Functions 中收到“无效信封”错误? [关闭]的主要内容,如果未能解决你的问题,请参考以下文章

为啥在通过 Firebase 身份验证传递 id 令牌时,此 CORS 身份验证的 Google Cloud 函数会返回 403?

为啥 Firebase 数据库(Firestore)不添加文档

为啥我的函数没有部署到 Google Cloud Platform?

获取符合存储规则的 Firebase Cloud Storage 的客户端 URL

为啥我在 Swift 中没有收到来自 Firebase 的推送通知?

添加 cloud_firebase 包后,我的 Flutter App 没有运行