### Answer
Your workaround makes sense. Based on a similar issue reported in the community, the 400 error when deleting parameters from custom functions can occur if the JSON schema isn't properly cleared after removing parameters [(1) ](
) . Another user found that updating too frequently can also trigger a 400 error even without changes .
Your solution of using query parameters instead of body parameters is valid. According to the documentation, custom functions support both query parameters and body parameters (the latter only for POST, PATCH, and PUT requests) [(2) ](
) [(3) ](
) . Query parameters can be defined with static or dynamic variable values and are appended to your endpoint URL .
Since you're now using query parameters exclusively, this approach should work fine for GET requests, which don't support body parameters anyway .
If you continue experiencing issues with parameter deletion, try ensuring the JSON schema is completely removed before saving the function changes [(1) ](
) .