Unable To Get Data Back from Bubble App Connector

Hi,

I have setup the Bubble App Connector as described in one of my prior posts:

To summarize, I have an API Workflow that simply returns a single record of data type Site. When I call this API workflow using Postman it works fine. I see the JSON I expect. I then setup the workflow via the Bubble App Connector and I was able to wire it up and it recognizes the return type Site.

However, I am unable to get any values from the API call. The Site has a Name field that has data and I verified in my API call via Postman. There are no errors in the Bubble editor. But when I try to log the site’s name to a table or send via email, it is always blank.

To rule out privacy rules, I removed them all but the problem remains.

I also attempted to get the values of different fields, but those come back blank.

Any suggestions on what might be preventing me from getting data back from the API call via the Bubble App Connector?

Thank you.

Can you post an updated screenshot of your revised backend workflow that shows how you’re working with the returned data (after the “return data”) action?

1 Like

App connector or API Connector?
Postman is like API Connector…

@romanmg here are the screenshots.

Bubble App Connector Config:

Button Click Workflow:

@Jici you are correct. I got that mixed up. I tested the workflow API (Return data from API) using Postman. But I’m also using the Bubble App Connector as I show in my pics above.

Thank you both for your help.

Hm ok. Let’s isolate a few things:

  • Allow your endpoint to run without authentication for now, run it, and see if it returns anything. If it does, then you may need to check that private key in your App Connector settings.
  • I don’t know if this changes anything, but since both of your calls in the App Connector are set to API key, the Client ID and Client Secret don’t apply (only the Private key will), so you can try removing those client values in case there’s some kind of conflict happening there.
  • Even though it’s working in Postman, check the server logs of the app sending the data to see if it’s actually sending anything. If not, something is missing from your search or there’s an authentication issue. If yes, check the server logs of the app receiving the data to see if you spot anything interesting there.
  • I assume the Log record is created and the “Source” field is saving a value so we know the Create action is not the issue?
  • Is there still a Site record in your database? Are there values in the fields? Silly question, but have to ask.

Hi @romanmg thank you for your suggestions. I checked all of these things and still could not get data back.

I ended up scrapping the approach and just using an backend event, which works without having to use the Bubble App Connector. In the backend event, I just do a “Return data…” and it allows me to return data from a query or anything else.

Thank you.