https://retellai.com/?utm_source=discord&utm_medium=seo logo
Issue creating function Error 400
# ❓・bug-report
s
Hello team, I'm having the following issue. When I'm creating a new function, it takes over the details of a previously created function. And it autoloads the arguments and parameters and variables of that previous function. When I try to delete the arguments and parameters of that function, when i replace them with new ones or delete them , and try to start fresh and try to save, it doesn't work and I'm getting an error 400.
i can leave I can leave the parameters unchanged and work with headers, but that's kind of annoying because that way I'm sending parameters to my servers that have nothing to do with the task that has to run.
s
hi brother
s
Hey man, hope you're good!
When I try to remove or replace those inherited arguments and parameters in order to start fresh, I’m unable to save the new function. Each attempt results in a 400 error.
sorry the original post was written very poorly 😅
s
No worries about the original post! I understand the issue now. You're getting Error 400 when trying to clear/replace the inherited parameters from a previously created function
s
sorry to have bothered you but it's fixed... It's working now Not sure what i did... i think i didn't remove the JSON schema after i removed the parameters. Could that have been it? I also notice if you update too frequently it shows error 400, eventough you didn't change anything
s
Yes, that's exactly it!
s
Alright, thank for the quick reply!
usualy i try my best to figure these things out myself before posting but i didn't catch it in time
s
You are most welcome!
No worries at all it happens. It’s great that you usually try to figure things out yourself. I
i am glad you reached out and I am here to help whenever you need