title: How to debug Azure Data Factory V2 Invalid Trigger Type?
body: <p>I created a new ADF V2 pipleline with a tumbling window trigger via powershell.  When starting the pipeline I get an error:</p>
  
  <pre><code>Start-AzureRmDataFactoryV2Trigger -ResourceGroupName $ResourceGroup -DataFactoryName $DataFactoryName -Name "DailyTriggerCookForecastPipeline"
  
  [ERROR] Start-AzureRmDataFactoryV2Trigger : HTTP Status Code: BadRequest
  [ERROR] Error Code: BadRequest
  [ERROR] Error Message: Invalid trigger type: Trigger
  [ERROR] Request Id: 6591ae6b-902d-4b25-9f62-c6bb67796d57
  [ERROR] Timestamp (Utc):01/08/2018 16:05:30
  [ERROR] At line:1 char:1
  [ERROR] + Start-AzureRmDataFactoryV2Trigger -ResourceGroupName $ResourceGroup - ...
  [ERROR] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  [ERROR]     + CategoryInfo          : CloseError: (:) [Start-AzureRmDataFactoryV2Trigger], ErrorResponseException
  [ERROR]     + FullyQualifiedErrorId : Microsoft.Azure.Commands.DataFactoryV2.StartAzureDataFactoryTriggerCommand
  [ERROR]  
  </code></pre>
  
  <p>My trigger is defined as:</p>
  
  <pre><code>{
    "name": "DailyTriggerCookForecastPipeline",
    "properties": {
      "type": "TumblingWindowTrigger",
      "typeProperties": {
        "frequency": "Hour",
        "interval": "24",
        "startTime": "2018-01-01T04:00:00Z",
        "retryPolicy": {
          "count": 2,
          "intervalInSeconds": 30
        },
        "maxConcurrency": 1
      },
      "pipeline": {
        "pipelineReference": {
          "type": "PipelineReference",
          "referenceName": "CookForecastPipeline"
        },
        "parameters": {
          "SliceStart": "@trigger().outputs.windowStartTime"
        }
      }
    }
  }
  </code></pre>
  
  <p>I have no idea how to debug this further.  Is there a way to get a more detailed error message?  I couldn't find one in the portal.
  Thanks!</p>