I have an adaptive card that has a form with inputs the user can interact with. Somehow, in my local environment when I interact with the adaptive card the Action.Execute is successful and the card is replaced with another. In the other hand, when I deploy my app in the cloud the endpoint is hit with the new information but my card never gets replaced.
Steps to reproduce the behavior:
1-Hit the endpoint so the user receives the card through teams.
2-e user interacts with the card they just received.
3-When the submit button is hit, this error is displayed “Something went wrong. Please try again.”
The service is being deployed in azure web app(Windows OS) and using azure bot service, when I go to the log I get this error.
[onTurnError] unhandled error RestError: Failed to decrypt conversation id{
"name": "RestError",
"code": "BadArgument",
"statusCode": 403,
"request": {
"streamResponseStatusCodes": {},
"url": "https://smba.trafficmanager.net/amer/v3/conversations/REDACTED/pagedmembers",
"method": "GET",
"headers": {
"_headersMap": {
"accept": "/",
"user-agent": "Microsoft-BotFramework/3.1 botframework-connector/4.22.2 core-http/3.0.4 Node/v18.19.1 OS/(ia32-Windows_NT-10.0.20348)",
"authorization": "REDACTED"
}
},
"withCredentials": false,
"timeout": 0,
"requestId": "REDACTED"
},
"details": {
"error": {
"code": "BadArgument",
"message": "Failed to decrypt conversation id"
}
},
"message": "Failed to decrypt conversation id"
}
I have tried what is in this post
https://learn.microsoft.com/en-us/answers/questions/1685481/how-i-do-replace-an-adaptive-card-using-bot-framew