provisionCOmposer.js returns error message of "bad host name"

75 views Asked by At

I am following the standard bot framework composer deployment script, as following:

cmd_prompts> node provisionComposer.js 
  --tenantId=<my tenantid> 
  --subscriptionId=<my subscriptionid>...

It was working pretty well at the beginning. Then it failed after I deleted several existing resources from my subscription. The following is a copy of the error returned by the provisionComposer.js script:

{
   "Code": "BadRequest",
   "Message": "The host name nyname01-xyz_env.azurewebsites.net is invalid.",
   "Target": null,
   "Details": [
          {
           "Message": "The host name nyname01-xyz_env.azurewebsites.net is invalid."
          },
    {
       "Code": "BadRequest"
     },
   {
      "ErrorEntity": {
       "ExtendedCode": "04003",
       "MessageTemplate": "The host name {0} is invalid.",
       "Parameters": [
       "nyname01-xyz_env.azurewebsites.net"
       ],
        "Code": "BadRequest",
        "Message": "The host name nyname01-xyz_env.azurewebsites.net is invalid."
      }
    }
   ],
   "Innererror": null
 }

Result:

Provision failed

Can anyone shed some light? Appreciate your help.

0

There are 0 answers