0
votes

I create a bot for Microsoft teams. I use a Task modules for communication with my bot.

Request:

{
    "name": "task/fetch",
    "type": "invoke",
    "value": {
            "data": {
                "type": "task/fetch",
                "data": "Click me"
            },
            "context": {
                "theme": "default"
            }
        }
}

Response:

{
   "task":{
      "type":"continue"
      "value":{
         "url":"http://8364133f.ngrok.io/index.html",
         "title":"Title card",
         "height":"medium",
         "width":"medium",
         "fallbackUrl":"http://8364133f.ngrok.io/index.html"
      },
    }
}

And show a popup window with message: 'The task module could not be loaded.'

How can I find out the cause of this error ?

Error

1
Is 8364133f.ngrok.io included in validDomains in the manifest? - Bill Bliss - MSFT
Yes, manifest contains this domain. I also create app tab and this tab uses this domain and on tab shows my website - Grinion
@bill-bliss-msft - Do you have any idea? - Grinion
@Grinion did you find a solution to this? Getting the same error now - Vardhaman Deshpande

1 Answers

0
votes

The url and fallbackUrl must be https. The above is http. Sorry I didn’t catch that earlier, it’s obviously easy to miss.