Cannot pass dynamic input value to API Connector – always sends literal string instead of actual input

Hi Bubble community,

I’ve been stuck for hours on what should be a simple integration. I’m using the API Connector to send a POST request to an external service (AirOps) with a single parameter — the user’s “astrological sign”, entered in an input field (Input_signe).

What I want : Send the input value from a text field (like “Leo”, “Aries”, etc.) as a JSON body to my external API.

What happens:
No matter what I do, Bubble keeps sending the string “Input_signe” instead of the actual value** entered by the user (e.g., “Aries”). So the API receives “Input_signe” as the value literally.

What I’ve tried (everything :sweat_smile:):

Setting the body in the API Connector as:
{
“signe”: <Input_signe>
}
and in Value : Input_signe’s value
(I’ve tried also with “<Input_signe>” , well i’ve tried all the options possible)

Bubble doesn’t parse the dynamic variable, just sends it as-is.

I’ve uncheked the “Private” box → Still not working
Making sure my API call is marked as “Use as action”
Setting dynamic value in the workflow like: Input_signe’s value
Initializing the call with example values (it works)
Triggering the API from a button in a simple test workflow
Watching logs in AirOps → always receives “Input_signe” (as text), never the actual input

Has anyone faced this and found a real fix?

I just want to send the actual value from the user input into my API call. If there’s a best practice for this in Bubble, I must be missing it :sweat_smile:

Any help would be hugely appreciated!

Thank you
Cécile

Attached : one of the 100+ tests I’ve run — still can’t get the input to be passed correctly to the API.

You need to uncheck the ‘private’ box next to the signe key so that you can enter the value dynamically in your workflow action.

Yes thanks. But already done many times without… still no working

You need to uncheck the private next to the signs key so you can enter the value dynamically using the input value

Yes thanks .. I shouldnt have posted this screenshot :grinning_face_with_smiling_eyes: I did it plenty of times with private unchecked. Still not working.

I doubt that.. but if true then something has gone very wrong, and no one on the forum will be able to help with that.

So you’ll need to reach out to Bubble support and/or submit a bug report here, as that’s definitely not how it usually works.

Screenshot, without Private checked…From Bubble to AirOps…
As I said, I have tried every options (141 records in AirOps :sweat_smile:)
So yes…true…
Thanks


I think you’re not quite understanding. You’ve already set that field to accept a dynamic value, so you shouldn’t write "Input_signe's value" directly in the API Connector.

Instead, you need to pass the input value in the action of your workflow, using that dynamic field.

Example below:


Did you define a valid value in your WF?

(nothing in your screenshots suggest you did)

I don’t know what that’s supposed to be… what is that?

Wooo, thank you so much ! It’s working !!
You saved hours of my life ! I was stuck in a time loop :joy:

1 Like

Thats great!!! Happens with everybody hahaha :joy:

This topic was automatically closed after 70 days. New replies are no longer allowed.