Hey everyone,
Today, I had the pleasure of spending a considerable amount of time troubleshooting an interesting (read: frustrating) behaviour in our Bubble application. I thought I’d share my findings, both as a cautionary tale and to see if anyone else has encountered something similar.
Here’s what I observed:
- I have a frontend workflow that schedules a backend workflow, passing a text parameter as part of the process.
- The backend workflow then makes an API call using that text parameter, as set up earlier in the API connector.
- Now, here’s the fun part: when the text from the frontend is empty, the API call still goes through – but instead of using an empty value, it magically defaults to the value used during initialization. Naturally, this means the workflow finishes successfully instead of logging an error, which is, of course, extremely helpful when trying to identify the problem.
I’ve managed to resolve this by setting that parameter to use a “defaulting to” fallback, which is admittedly an improvement over using the initialization value. However, it still feels less than ideal.
This little adventure in debugging was, let’s just say, an absolute delight. I’m honestly curious – has anyone else experienced this behaviour? Am I being overly particular here, or is this just another quirk of the Bubble API Connector that we should all be mildly annoyed about?
Looking forward to hearing your thoughts