hopper_butcher
12/07/2025, 8:38 PMAI Evy
12/07/2025, 8:38 PMAI Evy
12/07/2025, 8:39 PM"type": "object" at the top level - Your parameters must include this at the top level of the JSON schema.
2. Not removing the JSON schema after removing parameters - If you remove parameters but don't update the corresponding JSON schema, this can cause the error. [(2) ]()
3. Updating too frequently - If you update the function too quickly in succession, it may show Error 400 even if you didn't change anything.
Correct parameter format: [(1) ]()
json
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City to look up."
},
"units": {
"type": "string",
"enum": ["metric", "imperial"]
}
},
"required": ["city"]
}
Try verifying your JSON schema includes "type": "object" at the top level and ensure your schema matches your defined parameters. [(1) ]() [(1) ]()AI Evy
12/07/2025, 8:39 PMAI Evy
12/07/2025, 8:39 PM