Closed sydrawat01 closed 1 year ago
I've experienced a similar problem, where the StartConversationAsync() method consistently returns null. The documentation suggests that the relayboat is now a legacy component, and it encourages the use of the Skill bot moving forward. However, integrating this with Twilio poses a challenge. Despite my efforts in contacting their support and opening two tickets, I've yet to receive a response. As we're both tackling the same issue, it might be beneficial for us to collaborate on finding a solution.
in my case the conversation null after a couple of times trying. For eg, if i start afresh on a new day it works for few tries and then goes null I suspect, it might be the case in case previous conversation is not fully completed ..ie the PVA does not reach the conversation end topic... but thats purely my guess
In my case it didn't work at all. Would you mind sharing your code to compare what did I miss. I am also in contact with twilio support. lets see what they come up with
Hi! i had the same issue. the issue is not the code, its the VPA instance. i swapped to a different tenant and it just worked.
Hi! i had the same issue. the issue is not the code, its the VPA instance. i swapped to a different tenant and it just worked.
I can confirm, I just changed the values in appsettings.json
and it works just fine! Seems like a very weird bug tbh.
Hi @sydrawat01 what did you change in your appsettings.json file? Currently experiencing this.
hi I was able to overcome this issue by using a PVA secret rather than token for authentication. I think its a bug in PVA
thanks a
Since you guys have solved the issue , can you guide what exactly needs to be provided in appsettings.json
I have the same problem if I use a new PVA but if I use a Classic PVA it works.
Hi, I need help... Is there a way to run this bot connector api app on a european environment?
I read on MS that the default uri used is https://directline.botframework.com/ and the eu version is https://europe.directline.botframework.com/. Here's the link i read from https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-api-reference?view=azure-bot-service-4.0
I was following the following Twillio blog to connect Power Virtual Agents (PVA) bots to Twilio using a Relay Bot in C# (link).
I cloned this project as mentioned in the blog, where I proceeded to update the parameters to the
appSettings.json
file with the values collected from the PVA bot.I then ran the C# project using the
dotnet watch run
from within the project folder in my terminal. This loaded up a Swagger page onhttp://localhost:5157/swagger/index.html
, which I then used to test the relay bot.After filling in the
From
andBody
parameters in the request, I executed the API request, which failed.Here is the error log from the terminal:
If I'm not wrong, the above error points to the
myBotConnectorController.cs
file, at line 67:I'm unable to debug what could be the possible problem here. Any idea as to what might be causing this problem?