Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 9 tasks
mahidharkolla opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
customer-reported question Further information is requested

Comments

@mahidharkolla
Copy link

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

@microsoft-github-policy-service microsoft-github-policy-service bot added question Further information is requested customer-reported labels Apr 3, 2024
@mahidharkolla mahidharkolla changed the title API rerun trigger is giving the Invalid trigger type: ScheduleTrigger when i run the Sheduled triggers is there any restriction o schedule trigger API rerun trigger is giving the Invalid trigger type: ScheduleTrigger when i run the Scheduled triggers is there any restriction on schedule trigger Apr 3, 2024
@msyyc msyyc self-assigned this Jul 2, 2024
@msyyc
Copy link
Member

msyyc commented Jul 2, 2024

Hi @mahidharkolla You need to pass right value for variables wrapped by {}:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants