What does it mean “error_subcode”: 33 in the faceb

2019-06-25 09:25发布

Does anybody know what does it mean error_subcode: 33 in the facebook response error? I know it's related to a mission permission but I want to be 100% sure.

We received the following error:

{"error":{"message":"Unsupported get request. Object with ID 'XXXX'
does not exist, cannot be loaded due to missing permissions, or does
not support this operation. Please read the Graph API documentation at
https://developers.facebook.com/docs/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"BRwGjA9kkKU"}}

But in the Facebook API documentation about Graph API https://developers.facebook.com/docs/graph-api/using-graph-api/ , I cannot find error_subcode with value 33.

I want that I can rely on this subcode to verify that I don't have permissions to get the resource from Facebook API because I don't want to rely on the error message.

2条回答
在下西门庆
2楼-- · 2019-06-25 10:04

I can't offer a definitive solution, as there seem to be multiple possible causes. However, I encountered this today and wish to offer this possible cause.

If you are encountering this error when you are testing your Facebook TEST app, it might be related to the fact that you're in TEST app mode.

In my case, I worked on implementing Facebook login for a while. When my partner joined in development, he couldn't log in in his development environment. He got the error you mention for the 'me' endpoint:

{
    "error": {
        "message": "Unsupported get request. Object with ID 'me' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
        "type": "GraphMethodException",
        "code": 100,
        "error_subcode": 33,
        "fbtrace_id": "____"
    }
}

This had actually already been deployed and tested to our production environment, where we are both able to register and log in just fine.

After I added him as Administrator to the Facebook TEST app, the issue resolved and he could register and log in on his own development environment.

So, you may want to check if this is applicable to you. An easy way to check is to use the keys for the real app in your development environment.

查看更多
混吃等死
3楼-- · 2019-06-25 10:06

Here is the Facebook bug portal link to the similar issue: https://developers.facebook.com/bugs/316526372199563/

The gist of it is:

these users registered for Facebook/Messenger using their phone number and such users are not yet queryable by the API. This is on the roadmap for the API, please keep an eye on our changelog for when this goes live in a future version: https://developers.facebook.com/docs/graph-api/changelog"

查看更多
登录 后发表回答