Azure / Azure/azure-rest-api-specs-examples

API rerun trigger is giving the Invalid trigger type: ScheduleTrigger when i run the Scheduled triggers is there any restriction on schedule trigger

Open
#4,371 1 comment 0 reactions 1 assignee Claimed by @msyyc View on GitHub
customer-reported question
Dominant language
No language data
Stars
40
Forks
23
Avg merge
23h 36m
Merged PRs (30d)
172

Description

### 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

- [ ] C#/.NET
- [ ] Java
- [ ] JavaScript/TypedScript
- [ ] Python
- [ ] Golang
- [X] Other - Please specify in Issue details field

### Sample Issue Type

- [ ] Sample not working
- [ ] Sample missing
- [ ] Do not understand sample

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.