dialogcontext.beginDialog('MainDialog') is crashing for ios devices on conversation type channel
We have a node app integrated in miscrosoft teams. that is based on the waterfall model for dialogs. the app works fine for all the devices and in all personal, group and teams type conversations except in ios device that too only for conversation type channel. Upon reaching this piece of code dialogcontext.beginDialog('MainDialog') the app crashes with the following error. Error during beginDialog: DialogContextError: UnknownERROR: RestError: Unknown[onTurnError
] unhandled error: RestError: UnknownRestError: Unknown{
"name": "RestError",
"code": "ServiceError",
"statusCode": 404,
"request": {
"streamResponseStatusCodes": {},
"method": "POST",
"headers": {
"_headersMap": {
"content-type": "application/json; charset=utf-8",
"x-ms-conversation-id": "REDACTED",
"accept": "/",
"user-agent": "Microsoft-BotFramework/3.1 botframework-connector/4.22.1 core-http/3.0.4 Node/v18.20.4 OS/(ia32-Windows_NT-10.0.20348)",
"authorization": "REDACTED"
}
},
"withCredentials": false,
"timeout": 0,
"requestId": "03c31131-db8d-47d4-9783-686673232a4d"
},
"details": {
"error": {
"code": "ServiceError",
"message": "Unknown"
}
},
"message": "Unknown"
} NOTE : The issue only exists in ios devices that too only for conversation type channel