facebookErrDomain 代码 3000

发布于 2024-10-15 07:26:56 字数 243 浏览 1 评论 0原文

今天,我收到了我的一位应用程序用户关于错误代码 3000 的投诉。

我找不到有关此错误的任何信息,也不知道导致此错误的原因,因为我在应用程序中没有跟踪。 Insights 正在报告 fql.multiquery 上的错误 我知道查询没问题,目前只有数百人中只有 1 人遇到此问题。

您是否已经遇到此错误,或者您知道此错误到底意味着什么吗?据我所知,我们不再有官方的错误代码列表,并且复制的现有列表不涵盖此响应代码。

Today I received of one of my app users a complaint about an error code 3000.

I could not find any information about this error, nor do I have a clue what caused this error, because i have no tracking in the app. Insights is reporting errors on fql.multiquery
I know the queries are fine, only 1 person out of hundreds have this problem at current time.

Did you had this error already or do you know what exactly this error means? As far as I can see there us no official error code list anymore, and copied existing lists do not cover this response code.

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

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

发布评论

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

评论(1

总攻大人 2024-10-22 07:26:57

好吧,我设法从 Facebook 获得了完整的错误报告:

Error Domain=facebookErrDomain Code=3000 "The operation couldn’t be completed. (facebookErrDomain error 3000.)" UserInfo=0x5e08620 {request_args=(
        {
        key = method;
        value = "fql.multiquery";
    },
        {
        key = sdk;
        value = ios;
    },
        {
        key = queries;
        value = "[...the queries...]";
    },
        {
        key = "sdk_version";
        value = 2;
    },
        {
        key = "access_token";
        value = "...";
    },
        {
        key = format;
        value = json;
    }
), error_msg=Only administrators of applications, pages, and domains can retrieve Insights. The session user (100000XXXXXXXXX) does not own the object 132562XXXXXXXXX., error_code=3000}

有一个查询从 Insights 表中访问 page_fans 指标。该用户仅具有关联的“测试者”管理权限。将用户的访问级别更改为“管理员”会有所帮助。

我通过 UIAlertView 更改了错误报告,以包含 UserInfo 中的“error_msg”,因为它包含发生故障时对用户和我而言的重要指示符;)

我的问题的答案是:

您将获得 facebookErrDomain 代码如果您没有页面或应用程序见解数据的适当访问权限,则图形 API 上会出现 3000 错误。

Well, I managed to get a full error report from facebook:

Error Domain=facebookErrDomain Code=3000 "The operation couldn’t be completed. (facebookErrDomain error 3000.)" UserInfo=0x5e08620 {request_args=(
        {
        key = method;
        value = "fql.multiquery";
    },
        {
        key = sdk;
        value = ios;
    },
        {
        key = queries;
        value = "[...the queries...]";
    },
        {
        key = "sdk_version";
        value = 2;
    },
        {
        key = "access_token";
        value = "...";
    },
        {
        key = format;
        value = json;
    }
), error_msg=Only administrators of applications, pages, and domains can retrieve Insights. The session user (100000XXXXXXXXX) does not own the object 132562XXXXXXXXX., error_code=3000}

There was one query accessing the page_fans metric from insights table. The user had only the "Tester" administration privilege associated. Changing the access level of the user to "Administrator" helped.

I changed my error report via UIAlertView to include the "error_msg" from the UserInfo, as it contains important indicators for user and me in case of a failure ;)

The answer for my question is:

You'll get an facebookErrDomain code 3000 error on graph api in case you do not have proper access rights for page or application insights data.

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