like-gold•2y ago
API Call error
Hi I have been experiencing this error, I'm struggling to figure out what is causing it.
I have my voiceflow connected to an API that runs responses through a custom chatbot I have created on replit. For some reason when I ask certain questions though I get this API failure
It looks like what is causing my issue are questions that have certain characters such as Quotes "".
Any ideas how I can fix this so questions can be asked with quotes without breaking the API call

2 Replies
It sounds like you're encountering an API failure when connecting your Voiceflow project to a custom chatbot via Replit. This issue could be due to several factors, including incorrect API key usage, errors in your request format, or issues with the handling of specific types of requests or responses. Here are some steps and considerations to help troubleshoot and resolve the issue:
- Ensure you have correctly obtained and used the Dialog Manager API Key from your Voiceflow project's Integrations tab.
- Verify that your request format to the Dialog Manager API matches the expected structure, including the correct use of launch, text, or intent requests based on your needs.
- Check the response handling in your custom chatbot to ensure it correctly processes the array of "traces" (pieces of the overall response) from your Voiceflow project. Each trace corresponds to a block in your Voiceflow project and could include messages or visual content.
- Utilize debug logging to gain more insights into the API call flow and identify any discrepancies or errors in the request and response cycle.
For detailed instructions on integrating with custom channels and using the Dialog Manager API, you can refer to the Voiceflow documentation and API examples. Additionally, reviewing the API reference for information on request types and response structures might provide further clarity.
Helpful resources:
- Custom Channel API documentation
- API Reference
like-goldOP•2y ago
These were not the issues