### Answer
Based on community reports, 400 errors when uploading JSON files in Retell AI typically occur due to a few common issues [(1) ](
) [(2) ](
) :
Common causes:
1.
JSON schema mismatch - The JSON payload doesn't match the expected schema with all required fields [(2) ](
)
2.
Invalid JSON syntax - Issues like trailing commas or incorrect formatting
3.
Leftover parameters - When creating/editing functions, inherited arguments or parameters from previous functions may cause conflicts if not properly removed [(1) ](
)
4.
JSON schema not removed - If you remove parameters but don't update the corresponding JSON schema, this can trigger a 400 error
5.
Too frequent updates - Updating too quickly can sometimes show error 400 even without changes
Troubleshooting steps:
- Validate your JSON syntax (no trailing commas, correct formatting) [(2) ](
)
- Ensure all required fields are included
- If editing an existing function, make sure to remove both the parameters AND the JSON schema together [(1) ](
)
- Clear browser cache and try again [(3) ](
)
- Verify the name, tool_id, and url are properly formatted [(2) ](
)
If you can share your JSON file (without any sensitive information) , I can help identify the specific issue.
**