com.microsoft.azure.CloudException: 400 is not a valid polling status code: The request content was invalid and could not be deserialized: 'Error converting value "{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "IotHubs_acceleriteiotphub_name": { "defaultValue": "acceleriteiotphub", "type": "String" } }, "variables": {}, "resources": [ { "comments": "Generalized from resource: '/subscriptions/74a5c44d-7529-41f8-9567-2d7fb7063d06/resourceGroups/acceleriteconcertgroup/providers/Microsoft.Devices/IotHubs/acceleriteiotphub'.", "type": "Microsoft.Devices/IotHubs", "sku": { "name": "F1", "tier": "Free", "capacity": 1 }, "name": "[parameters('IotHubs_acceleriteiotphub_name')]", "apiVersion": "2016-02-03", "location": "eastasia", "tags": {}, "properties": { "eventHubEndpoints": { "events": { "retentionTimeInDays": 1, "partitionCount": 2, "partitionIds": [ "0", "1" ], "path": "iothub-ehub-accelerite-60491-14a99e4b43", "endpoint": "sb://ihsuprodhkres019dednamespace.servicebus.windows.net/" }, "operationsMonitoringEvents": { "retentionTimeInDays": 1, "partitionCount": 2, "partitionIds": [ "0", "1" ], "path": "iothub-ehub-accelerite-60491-69c322cb03", "endpoint": "sb://ihsuprodhkres018dednamespace.servicebus.windows.net/" } }, "storageEndpoints": { "$default": { "sasTtlAsIso8601": "PT1H", "connectionString": "", "containerName": "" } }, "enableFileUploadNotifications": false, "cloudToDevice": { "maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", "feedback": { "lockDurationAsIso8601": "PT1M", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10 } }, "features": "DeviceManagement" }, "resources": [], "dependsOn": [] } ]}" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Templates.Schema.Template'. Path 'properties.template', line 1, position 2817.'.

GitHub | vimukthir | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 923#240629945

    GitHub | 6 months ago | vimukthir
    com.microsoft.azure.CloudException: 400 is not a valid polling status code: The request content was invalid and could not be deserialized: 'Error converting value "{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "IotHubs_acceleriteiotphub_name": { "defaultValue": "acceleriteiotphub", "type": "String" } }, "variables": {}, "resources": [ { "comments": "Generalized from resource: '/subscriptions/74a5c44d-7529-41f8-9567-2d7fb7063d06/resourceGroups/acceleriteconcertgroup/providers/Microsoft.Devices/IotHubs/acceleriteiotphub'.", "type": "Microsoft.Devices/IotHubs", "sku": { "name": "F1", "tier": "Free", "capacity": 1 }, "name": "[parameters('IotHubs_acceleriteiotphub_name')]", "apiVersion": "2016-02-03", "location": "eastasia", "tags": {}, "properties": { "eventHubEndpoints": { "events": { "retentionTimeInDays": 1, "partitionCount": 2, "partitionIds": [ "0", "1" ], "path": "iothub-ehub-accelerite-60491-14a99e4b43", "endpoint": "sb://ihsuprodhkres019dednamespace.servicebus.windows.net/" }, "operationsMonitoringEvents": { "retentionTimeInDays": 1, "partitionCount": 2, "partitionIds": [ "0", "1" ], "path": "iothub-ehub-accelerite-60491-69c322cb03", "endpoint": "sb://ihsuprodhkres018dednamespace.servicebus.windows.net/" } }, "storageEndpoints": { "$default": { "sasTtlAsIso8601": "PT1H", "connectionString": "", "containerName": "" } }, "enableFileUploadNotifications": false, "cloudToDevice": { "maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", "feedback": { "lockDurationAsIso8601": "PT1M", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10 } }, "features": "DeviceManagement" }, "resources": [], "dependsOn": [] } ]}" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Templates.Schema.Template'. Path 'properties.template', line 1, position 2817.'.
  2. 0

    GitHub comment 923#241350865

    GitHub | 6 months ago | vimukthir
    com.microsoft.azure.CloudException: Async operation failed

    Root Cause Analysis

    1. com.microsoft.azure.CloudException

      400 is not a valid polling status code: The request content was invalid and could not be deserialized: 'Error converting value "{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "IotHubs_acceleriteiotphub_name": { "defaultValue": "acceleriteiotphub", "type": "String" } }, "variables": {}, "resources": [ { "comments": "Generalized from resource: '/subscriptions/74a5c44d-7529-41f8-9567-2d7fb7063d06/resourceGroups/acceleriteconcertgroup/providers/Microsoft.Devices/IotHubs/acceleriteiotphub'.", "type": "Microsoft.Devices/IotHubs", "sku": { "name": "F1", "tier": "Free", "capacity": 1 }, "name": "[parameters('IotHubs_acceleriteiotphub_name')]", "apiVersion": "2016-02-03", "location": "eastasia", "tags": {}, "properties": { "eventHubEndpoints": { "events": { "retentionTimeInDays": 1, "partitionCount": 2, "partitionIds": [ "0", "1" ], "path": "iothub-ehub-accelerite-60491-14a99e4b43", "endpoint": "sb://ihsuprodhkres019dednamespace.servicebus.windows.net/" }, "operationsMonitoringEvents": { "retentionTimeInDays": 1, "partitionCount": 2, "partitionIds": [ "0", "1" ], "path": "iothub-ehub-accelerite-60491-69c322cb03", "endpoint": "sb://ihsuprodhkres018dednamespace.servicebus.windows.net/" } }, "storageEndpoints": { "$default": { "sasTtlAsIso8601": "PT1H", "connectionString": "", "containerName": "" } }, "enableFileUploadNotifications": false, "cloudToDevice": { "maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", "feedback": { "lockDurationAsIso8601": "PT1M", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10 } }, "features": "DeviceManagement" }, "resources": [], "dependsOn": [] } ]}" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Templates.Schema.Template'. Path 'properties.template', line 1, position 2817.'.

      at com.microsoft.azure.AzureClient.getPutOrPatchResult()
    2. com.microsoft.azure
      DeploymentImpl.create
      1. com.microsoft.azure.AzureClient.getPutOrPatchResult(AzureClient.java:86)
      2. com.microsoft.azure.management.resources.implementation.DeploymentsInner.createOrUpdate(DeploymentsInner.java:369)
      3. com.microsoft.azure.management.resources.implementation.DeploymentImpl.createResource(DeploymentImpl.java:345)
      4. com.microsoft.azure.management.resources.implementation.DeploymentImpl.create(DeploymentImpl.java:287)
      5. com.microsoft.azure.management.resources.implementation.DeploymentImpl.create(DeploymentImpl.java:38)
      5 frames