Graham
12/11/2024, 4:00 PMVapi
12/11/2024, 4:03 PMVapi
12/11/2024, 4:03 PMGraham
12/11/2024, 4:11 PMGraham
12/11/2024, 4:11 PMGraham
12/11/2024, 4:24 PMVapi
12/11/2024, 4:24 PM{"message":["voice.property tools should not exist"],"error":"Bad Request","statusCode":400} indicates that the API does not expect a tools property within the voice object. This could mean that the API's expected schema for a PATCH request does not include a tools field at all, or that it should be structured differently.
Here are a few steps you can take to resolve this issue:
1. **Check the API Documentation**: Ensure that you are following the correct schema as per the API documentation for patching an Assistant with a transfer call. There might be specific guidelines on how to structure the transferCall data.
2. **Validate JSON Schema**: If you have access to the JSON schema that the API expects, validate your JSON against that schema to ensure it matches the expected structure.
3. **Remove Unnecessary Fields**: If the tools field is not expected within the voice object, you may need to remove it and place the transferCall configuration in the correct location as per the API's requirements.
4. **Contact Support**: If you're unable to resolve the issue by checking the documentation or adjusting the JSON structure, it may be best to contact the API support team for guidance.
If you can share the API documentation or the expected schema, I can provide more specific advice on how to adjust your JSON. Otherwise, please refer to the API documentation or reach out to the API support team for further assistance.Graham
12/11/2024, 4:24 PMShubham Bajaj
12/12/2024, 11:20 AMShubham Bajaj
12/12/2024, 11:21 AM