Partial Outageshare-external
request returns error even though access token has the correct permissions
1

Hello, I am encountering an issue with the pages/search endpoint.

When I try to access this endpoint to search after a specific page with an access token it returns an error. When I put the token inside the debugger I see that it has the correct permissions: pages_read_engagement and pages_read_user_content. (See included pictures of the permissions for said token)

But the endpoint still returns an error saying that the token used doesn't have the correct permissions. So I am a bit lost here, is the endpoint deprecated or is currently being deprecated? Is this a recurring issue? Is there someone that fixed an issue similar to mine?

Thomas
Asked about 2 months ago
Thomas

Just in case here's what's returned by the endpoint

{
  "error": {
    "message": "(#10) This endpoint requires the 'pages_read_engagement' permission or the 'Page Public Content Access' feature or the 'Page Public Metadata Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages, https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS and https://developers.facebook.com/docs/apps/review/feature#page-public-metadata-access for details.",
    "type": "OAuthException",
    "code": 10,
    "fbtrace_id": "A4HEcPS-ti0dOHxJHHJK2Ez"
  }
}
September 10 at 2:10 AM