/me/accounts returns empty array
21

Hello Guys,

I have two Facebook pages linked to my Facebook Account (Image attached).

In theory the /me/accounts endpoint should have retuned an array with both my pages, however the graph API is returning a empty array.

I know there was an issue with the /me/accounts endpoint yesterday but according to the Graph API status (https://metastatus.com/graph-api) this issue was resolved at 5 this morning.

I am running the same code base on 400 different websites, half of these sites are able to query the endpoint and receives data, the other half receives a blank array.

Is anyone else still experiencing this problem? How can I escalate this to a Facebook Developer?

Here is the debug data from the graph API explorer.

==== Query
  curl -i -X GET \
   "https://graph.facebook.com/v18.0/me/accounts?access_token=<access token sanitized>"
==== Access Token Info
  {
    "perms": [
      "pages_show_list",
      "pages_read_engagement",
      "pages_manage_posts",
      "public_profile"
    ],
    "user_id": 176558105401919,
    "app_id": 387273191469258
  }
==== Parameters
- Query Parameters


  {}
- POST Parameters


  {}
==== Response
  {
    "data": [],
    "__debug__": {}
  }
==== Debug Information from Graph API Explorer
- https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Faccounts&version=v18.0
Jacques
Asked about 8 months ago
Jacques

https://developers.facebook.com/community/threads/834738244781032/

September 14 at 1:21 AM
Selected Answer
15

Same here. This is serious issue.

September 14 at 2:02 AM
筑前貴裕
Selected Answer
1

I'm still getting an empty array. The Graph API Explorer doesn't let me generate Page Access Tokens either.

October 6 at 6:28 PM
Sonia
Jai

Sonia, i think something changed, when i request read_insights it worked, but i have to send app to review to get this permission. you may need to try with this permission

October 7 at 12:44 AM
Sonia

Thank you! I already had that permission, but I added business_management and it worked. Aparently they rolled out this requirement in v.17 but it affected other versions a couple of times: https://developers.facebook.com/support/bugs/780004130341035. v.16 is working for now with temporary business_management but I will have to have my app reviewed for this.

October 8 at 12:06 AM
1

I downgrade to version 16 in the API and also in the app settings (advanced), and it works again.

October 18 at 1:32 PM
ישראל
ישראל

fix - only for some of users, not for all. very strange

October 19 at 3:54 AM
1

Hi, out of the blue I'm having this problem too... the list of accounts is coming up empty... even though I have and am sending the following scopes: pages_manage_engagement,pages_read_engagement,pages_read_user_content,pages_show_list,business_management.

April 17 at 2:14 PM
Gabriel
Shozab

Hi Gabriel, did you find the solution? im also passing these scopes 'pages_manage_metadata,business_management,pages_messaging,instagram_basic,pages_show_list,pages_read_engagement,instagram_manage_messages', it works for some accounts but some still get empty array.

May 8 at 7:48 PM
Gabriel

Hello, yes! I finally solved it by requesting the advanced permission for business_management in my App. Once Facebook approved that advanced permission the problem stopped occurring.

May 8 at 9:21 PM
5

This has been an issue for 2 days? we need a resolution and communication that FB is working on it?

https://developers.facebook.com/support/bugs/602264498523167/

September 14 at 5:11 AM
Tom
Przemysław

This issue still occurs on production. Status page shows that this issues related to /me endpoints was resolved ~14 hours ago, but it still not works

September 14 at 10:24 AM
Praveen

Facing the same issue. Not able to query for pages for few accounts.

September 14 at 12:26 PM
Tom

unfortunately no one is answering

September 14 at 12:31 PM
Pradipe

Which is how Facebook likes to support its developer community.

September 14 at 1:20 PM
6

Same issue, /me/accounts still returns an empty array

September 14 at 3:57 AM
Luca
Jacques

There is an official bug report here: https://developers.facebook.com/support/bugs/602264498523167/

September 14 at 4:01 AM
6

Same issue - empty for me too

September 14 at 4:11 AM
Jonathan
Jacques

There is an official bug report here, you should subscribe to that thread so that you can know when its fixed :) https://developers.facebook.com/support/bugs/602264498523167/

September 14 at 4:12 AM
6

business_management permission must be granted

https://developers.facebook.com/docs/graph-api/reference/user/accounts/#limitations

December 30 at 7:52 PM
Bronten
8

Currently it is still empty

September 14 at 3:06 AM
Linh
Jacques

There is an official bug report here: https://developers.facebook.com/support/bugs/602264498523167/

September 14 at 4:01 AM
8

Facing the same issue. Not able to query for pages.

September 14 at 3:08 AM
Sinha
Jacques

There is an official bug report here: https://developers.facebook.com/support/bugs/602264498523167/

September 14 at 4:01 AM