dialogcontext.beginDialog('MainDialog') is crashing for ios devices on conversation type channel

Abhay Raut 0 Reputation points
2025-01-29T03:38:11.74+00:00

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": {},

        "url": "https://smba.trafficmanager.net/amer/dc2444f7-9b6c-49bf-99b9-2267e9fdfea5/v3/conversations/19%3AAzKpx-kupWwmv5sNdzfESwb5Loz_Wok6T2dumv4qv5E1%40thread.tacv2%3Bmessageid%3D1737689966346/activities/f%3Ab96656af-ea69-6e88-e6d6-88bfd4dead8a",

        "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

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,524 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.