Tips
Built-in AI models
- Connect AI models to your product without wiring low-level APIs yourself
- No API key setup required
- Ready to use out of the box
Troubleshooting
Debug AI feature errors
AI errors? Check that headers match body serialization. Common issues:- Headers breaking body serialization
- Content-Type mismatch
- Wrong payload format
- Inspect request headers in the API call
- Ask the AI to remove unnecessary headers
- Align headers with body serialization
- Drop unneeded header config
Match Content-Type correctly
Remove extra headers so Content-Type matches the body. Check:- Correct Content-Type
- Body format matches
- Encoding consistent
- JSON body with
text/plain - Form body with
application/json - Encoding mismatch

