What Causes the "Error - Request Failed with Status Code 400" When Using the Facebook Pages Integration?

This topic was automatically generated from Slack. You can find the original thread here.

When trying to use the Facebook Pages integration, I am getting the following error - “Error - Request failed with status code 400
{“error”:{“message”:”(#283) Requires pages_read_engagement permission to manage the object",“type”:“OAuthException”,“code”:283,“fbtrace_id”:“Aq-GUapmeGRmW2gk0q_KDct”}}" …can you tell me why this is happening?

It looks like you’re encountering an error due to missing the pages_read_engagement permission for the Facebook Pages integration. To resolve this issue, you’ll need to grant the required permission to your Facebook app. Please follow these steps: 1. Go to your Facebook Developer Dashboard. 2. Select the app you’re using for the integration. 3. Navigate to “App Review” > “Permissions and Features”. 4. Find the pages_read_engagement permission and request it. Once the permission is granted, you should be able to use the Facebook Pages integration without encountering the error. If you still face issues, please visit https://pipedream.com/support for more support options.

Hmm, I think this is Pipedream’s app that has been developed? There weren’t any instructions to install a separate app when using the integration in Pipedream.

Hi , you might need to select Pipedream in your Facebook Apps page, did you see it?

Hey Leo, thanks for the response! The Pages integration didn’t mention the app (I know I’ve seen that for Groups, but turns out the non-profit I’m volunteering for only has a Page). When we went hunting in the Page, we couldn’t find the App from any of the menus that exist in the Groups documentation.

I was able to successfully connect a colleague’s account and get to the point where I could test the step, but ran into the error above. Happy to install the Pipedream app if it also exists somewhere in Facebook Pages land, just not sure where to look. Thanks! :slightly_smiling_face:

Hi , let me check on my side and see if I can narrow down the issue. I’ll get back to you soon

Thanks!

Hi , I checked and it seems like the permission pages_read_engagement for Pipedream page have not approved by Facebook yet. So some actions are not available right now. Would you mind sharing the specific action you’re using? I can create an issue to track it

Got it, ok, thanks! I’m using the ‘Create Post’ step for Facebook pages as shown in the screenshot below. Let me know if you need additional details.

Thanks , would you mind sharing the screenshot of you action having error and the error itself?

Sure, here you go:

Thank you so much ! I’m creating a new issue right now

Hi Ben, an issue created here: [BUG] Facebook page - Create Post failed due to error Requires pages_read_engagement permission to manage the object · Issue #7581 · PipedreamHQ/pipedream · GitHub

Kindly subscribe to it to be noticed when it is fixed

Thanks, subscribed!