如何在我的服务器上记录 API 错误?

发布于 2024-12-05 14:05:47 字数 131 浏览 0 评论 0原文

在我的 Facebook App Insights 中,我看到一个名为“返回的 API 错误”的部分,这表明我每天都会遇到一些 API 错误。

如何记录我的应用程序生成的所有 API 错误,以便我可以修复它们或至少知道出了什么问题?

In my Facebook App Insights I see a section called "API Errors Returned" which indicate that I have a few API Errors everyday.

How can I log all the API Errors my App generates so I can fix them or at least know what's wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

触ぅ动初心 2024-12-12 14:05:47

我还收到根据 Insights 返回的 API 错误。但最常见的错误列表是空的。这是一个错误吗?

我相信这些 API 错误与我们已发现且 Facebook 尚未修复的错误有关。我们向他们打开的错误已更改其状态,我们无法让他们重新打开它。当我们没有画布 URL 时,我们的网站应用程序 (FilmCrave.com) 的行为就像有画布 URL。在我们的基本应用程序设置页面中,我们仅选中了网站,未选中 Facebook 上的应用程序(这是您设置画布 URL 的位置)。

谢谢,
缺口
FilmCrave.com

I am also getting API errors returned according to Insights. But the Most Common Errors list is empty. Is this a bug?

I believe these API errors are related to a bug we have uncovered and has yet to be fixed by Facebook. The bug we have open with them has had it's status changed and we cannot get them to re-open it. Our website app (FilmCrave.com) is behaving like it has a canvas URL when we do not have one set. In our Basic App settings page, we only have Website checked, App on Facebook is NOT checked (this is where you set your canvas URL).

Thanks,
Nick
FilmCrave.com

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文