Open mahidharkolla opened 7 months ago
https://learn.microsoft.com/en-us/rest/api/datafactory/trigger-runs/rerun?view=rest-datafactory-2018-06-01&tabs=Python#code-try-0
2018-06-01
when i do rerun of trigger through post man with following API , i get reponse as below: POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun?api-version=2018-06-01
Reponse: { "error": { "code": "BadRequest", "message": "Invalid trigger type: ScheduleTrigger", "target": "TestTrigger", "details": null } }
No response
Hi @mahidharkolla You need to pass right value for variables wrapped by {}:
{}
Link to sample
https://learn.microsoft.com/en-us/rest/api/datafactory/trigger-runs/rerun?view=rest-datafactory-2018-06-01&tabs=Python#code-try-0
Library name and version
2018-06-01
Language of the Sample
Sample Issue Type
Issue details
when i do rerun of trigger through post man with following API , i get reponse as below: POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun?api-version=2018-06-01
Reponse: { "error": { "code": "BadRequest", "message": "Invalid trigger type: ScheduleTrigger", "target": "TestTrigger", "details": null } }
Expected behavior
No response
Actual behavior
No response
Reproduction Steps
No response
Environment
No response