Error in json handling response in bubble

hi i am using a patent claim api in bubble i intiailize the api in api section its working fine show response everything but when i try to send dynamic data it shows http 400 error or if the api run the response is empty
Swagger using post api

Please share api connector settings and dunamic value settings

i used the dynamic expression but it didnt work in workflow section as well

in here i used dynamic patent numbers but it didnt work shows http 400 error but for hardcorted values it works fine

Probably because you didn’t encode it correctly
Let’s say you are doing a “search for patent”. You should use
"_or":[Do a search for patent:format as text]...
In the format as text top box
{"patent_id":"This patent's id(dynamic)"}
separated them by comma (bottom box)

i tried this as well but its not workinn as well

You have replaced all the JSON by the dynamic part. But I’ve show you only the part to put between square brackets in the whole JSON

sorry for late replying its done and working fine now

1 Like