Hello everyone,
I’m facing a very frustrating issue with my Bubble application and I’m hoping someone here might have encountered something similar or can offer a fresh perspective.
The Problem: I have an API call (Metabase_GenerateURL
under Metabase_Bubble
plugin) configured as an “Action” in the API Connector. The purpose of this API is to generate an embedded Metabase URL. When I initialize this API call with dummy values (with parameters temporarily set to non-private), it successfully returns Status code 200 OK
. This confirms that the API endpoint itself is working and returning the expected data. However, after setting the parameters back to “Private” and saving the API Connector configuration, when I try to use this API call in a Workflow (specifically, on Page is loaded
event for my dashboard
page), the “Parameters” section for this API action is completely missing in the Workflow editor’s property editor. This prevents me from passing dynamic data from the page URL to the API call.
My Setup:
- API Provider: Supabase Edge Function (
generate-url
) - Bubble API Connector (
Metabase_Bubble - Metabase_GenerateURL
):- Method: GET
- URL:
https://oahnmyfalnhdkoihrswh.functions.supabase.co/functions/v1/generate-url
- Use as: Action (This is crucial; it does not work as “Data” either, returning “Missing data” error when trying to fetch data from external API in workflow).
- Authentication: Bearer Token (Authorization header
Bearer {SUPABASE_SERVICE_ROLE_KEY}
is correctly set) - Parameters:
dashboard_id
(Private: Yes, Type: number)store_id
(Private: Yes, Type: text)date
(Private: Yes, Type: text, e.g.,past12months
)brand
(Private: Yes, Type: text, e.g.,null
)
- Initialization Status:
- With private parameters:
Status code 400
(“Missing required query parameters” - expected) - With non-private dummy values:
Status code 200 OK
(initialization succeeds)
- With private parameters:
- Workflow (
dashboard
page -Page is loaded
event):Step 1: Metabase_Bubble - Metabase_GenerateURL
(Action)- Problem: When I click this action, the right-hand panel does not show any “Parameters” section. Only the “Authorization” header is displayed.
What I’ve tried (and confirmed):
- API Connector Initialization: I have repeatedly (and successfully) initialized the API call by temporarily making parameters non-private and providing dummy values. After successful initialization, I always revert the parameters to “Private” and save the API Connector configuration.
- Browser Cache/Cookies: I have extensively cleared my browser’s cache and cookies, and restarted the browser multiple times.
- Bubble Editor Restart: I have closed and reopened the Bubble editor multiple times.
- Workflow Action Re-addition: I have deleted the API action from the workflow and re-added it, but the “Parameters” section still does not appear.
- Supabase Edge Function Validation:
- The Edge Function itself is deployed.
- I can successfully call the Edge Function directly using
curl
with parameters and the Service Role Key, and it returnsStatus code 200 OK
with the expected JWT. - Supabase logs show no critical errors for the Edge Function when called. (Previously, I had some
503 Function failed to start
andModule not found
errors, but these have been resolved and confirmed viacurl
tests.)
- “Use as” type: I understand that “Action” is the correct type for dynamic parameter passing in workflows. My previous attempt to change it to “Data” also failed, indicating the core issue is likely with Bubble recognizing the API structure.
I am running out of ideas on why the “Parameters” section is not appearing in the Workflow editor for an API call that successfully initializes. This is a critical blocker for passing dynamic data to my Metabase embeds.
Has anyone encountered this specific issue where API Parameters are missing in the Workflow editor, even after successful API Connector initialization? Any insights or suggestions would be greatly appreciated.
Thank you in advance for your help!
Best regards,