[Solved] Error in Retrieving Data from Workplace Using Webhooks (Account Management API)

Hi! So I am using this Account Management API (webhooks) from Facebook Workplace, so that I can retrieve a user’s data: https://developers.facebook.com/docs/workplace/account-management/api/

I can successfully retrieve it using Postman.

I copied the URL and the headers in BLiP, but I cannot retrieve the JSON response. Instead, this is what’s happening:

I displayed the response status and it says 200 meaning it was successful. However the response body is null. What could be the possible error of this? Please help because I’m stucked here for too long.

Here are the webhooks I enabled on my Workplace Integration:

Hi @Francis_Earl_S_Fojas,

  1. Let’s double check if you are using the same name to access the variable.

What is the variable name that you used to get the request response?
What is the pattern that you are using to log the variable?

  1. Are you using the correct headers to make this request inside builder?

Yes I do use the same variable.

Here’s when I retrieve it using HTTP Call:

Note: You can also view here that I used the same headers I put in Postman

Here’s when I accessed it:

Hi @Francis_Earl_S_Fojas,

Have you checked your flow on Builder?
Can you check if there is any problem that?

Hi Rafael! I checked it and there is no problem in the flow of the Builder, that is because I tried that Integromat will be the one to call the Facebook Workplace API, and then Integromat will pass that JSON to BLiP. It is successful.

But when BLiP directly calls this Workplace API, its response body becomes null :frowning:

Great @Francis_Earl_S_Fojas,

I’ll check what can be wrong in our side.

1 Curtida

Thank you very much Rafael! I appreciate it very much. =)

Hi Rafael! I would like to ask, this coming update, will this issue be resolved? Thank you and hoping for your positive response. =)

Hi @Francis_Earl_S_Fojas,

unfortunately I can’t give you a time to this. As soon as possible we will fix this issue!

Oh yeah sure! No pressure. I was just curious because BLiP sent an email about the upcoming updates on the platform. Thank you rafael =)

1 Curtida