I'm trying to integrate Dialogflow CX with Twilio using the one-click integration. I successfully connected an agent with English as the default language, but encountered an error when attempting to integrate an agent with Hebrew as the default language.
According to Twilio's documentation, the expected language code for Hebrew is "he". However, the configuration request sent from Dialogflow CX uses "language": "he-il", which seems to be causing the issue.
When I try to complete the integration with the Hebrew-language agent, I receive the following error message: "An error has occurred."
From inspecting the network request, I can see the error message is due to: "Configuration JSON is invalid."
Here is the JSON payload that causes the error:
```{ "uniqueName": "test", "projectId": "XXX", "conversationProfileId": "XXXXXXXXX", "language": "he-il", "statusCallbackUrl": "", "sentimentAnalysis": false, "welcomeIntentFriendlyName": "WELCOME", "botVoice": "DEFAULT", "location": "us-central1" }```
I believe this issue could be resolved by changing the "language" field to "he" instead of "he-il" when integrating with Twilio. Is there any option to convert to "he" when sending the request to Twilio?