API : key pair of an 'object'

Hello the community

I’m looking for your help.

I would like to add this via API :

image

The thing is I have to add multiple entries, like those ones :

  • request_data
  • dynamic_data
    etc.

And the error message is :

image

How can I add the url value and the timezone of calendly ?

Matthieu

put the whole payload into JSON. Nothing in parameters. Actually, your JSON is not valid

Hi !

Thanks for your answer

Sorry for the question, how can I make it valid ?

Matthieu

You have a comma after timezone. Use an online JSON validator to double check your payloads before sending them

This is not the only error (missing { at beginning) and it will also create conflict with the above parameters.

1 Like

Yup. Nevertheless, he should use a json checker such as https://jsonlint.com/

1 Like

Thanks, but it still doesn’t work…

There seems to be a conflict since I insert the " { " at the beginning of the JSON and " } "at the end.

So when I write this :

I have this error :

And when I delete this JSON code, as if it didn’t exist, it works.

I really have a problem with this “calendly”…

And nevertheless, I need to send these two pieces of information to “calendly”: url and timezone…

What do you think about it?

Why not start by adding the parameters the error is telling you that you need to add?!

I forgot to mention that the “missing” elements have already been entered.

When the JSON code is not written, it works.

When the JSON code is written, it seems to generate a bug, even though the requested elements are already present :frowning:

It’s probably in the wrong format. Did you try putting those parameters (and really all of them in the body?

Hey @matthieu3 :wave:

If you can post the api documentation, I can give it a look.

bdk_512x512 @Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble

Hi

I have contacted their dev team and… calendly is not working via the api…! WTF so many hours lost, they plan to remove it.

I have a last question for you guys,

If I put a parameter called « calendly » (for example) and the whole code value written inside an arbritrary text formated as json safe, with input data, does it works in general ?

I mean, for sure not for calendly but others parameters with many key pairs ?

Doing like this looks to be way easier for me, but I don’t know if this king of structure works on bubble. I think yes, but I’m not sure

Matthieu

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