Forum Academy Marketplace Showcase Pricing Features

Help on first attempt receiving data via webhooks

This is my first attempt to receive data via a web hook. I’m trying to keep it simple by only choosing a few parameters and I just want to see it stored in the application data. I keep testing it but no data is saved. Any suggestions?

Dev Environment:

The endpoint:

API Workflow: example JSON:

“id”: “j2mfxwj97wnj”,
“status_indicator”: “critical”,
“status_description”: “Major System Outage”
“body”:“A fix has been implemented and we are monitoring the results.”,
“body”:“We are waiting for the cloud to come back online and will update when we have further information”,
“body”:“The cloud, located in Norther Virginia, has once again gone the way of the dodo.”,
“name”:“Virginia Is Down”

I then received an email from StatusPage (initiator of the web hook) that said they detected a problem and deactivated the web hook given they didn’t receive a 200 response within 30 seconds of initial connection.

Just tested with Worked fine. New entries are being created in your database.

Thanks for the help! I’ll note as a tool to help in the future.

So my bubble app can receive the data but somehow it’s not reading the JSON properly. Any idea what that might be? I’m assuming that StatusPage sent the POST given that I got an email suggesting that it didn’t work and that they never received the 200 error.

So my bubble app can receive the data but somehow it’s not reading the JSON properly.

How do you know the data isn’t being read properly? What error are you getting?

I didn’t see any entries after I had triggered events via and then I got an email from the folks at saying that their post didn’t work and they didn’t get the 200 response. I see entries in the database now but I believe those are ones you entered?

Yes, those are the ones I created. Does status page have some way to test their webhooks? If so, I’d start there. Also, formatting your “created_at” as a text doesn’t look correct.

Your problem is simple.

Some of the fields you are trying to recieve are nested. And thus your endpoint returns a none 200 status code because it can’t find the values you told it to look for.

Bubble at this time can’t read nested fields.

See this link if you want to know more

1 Like

Thank you, I was suspicious of that. I tried making all of my parameters empty, made the call via, and sure enough a blank entry was made in my database. So the webhook is working; I just can’t get to the parameters properly.

I posted in your other thread interest in pitching in on prioritizing this development. In the meantime, I guess I need to research in Zapier or other tools on how to flatten the JSON so I can pass the data. :frowning: