mohito1999
01/23/2026, 7:30 PMUnexpected token '<', "<!DOCTYPE "... is not valid JSON
These same KB files were working earlier and I’ve seen other people post on this in the last couple days and while folks from the team have mentioned this is solved, we’re still running into this.Vapi Support Bot
01/23/2026, 7:31 PMObserve > Call Logs in your dashboard
- Look for entries related to your query tool and review the response payloads for HTML or error messages
This will help you confirm if the backend is returning an HTML error page instead of the expected JSON, which is the most common cause of the Unexpected token '<' error.
If you see an HTML response, it's likely a server-side issue and you should contact Vapi support with the call log details for further assistance.
Source:
- [Custom tools troubleshooting](https://docs.vapi.ai/tools/custom-tools-troubleshooting)Chiranjeet Mishra
01/23/2026, 7:34 PMUnexpected token '<', '<!DOCTYPE' is not valid JSON
You can track the incident and updates here: [https://status.vapi.ai/incident/809181](https://status.vapi.ai/incident/809181)