Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

0

Job Scheduler API to throw error if workspaceId, itemId and jobInstanceId is not valid combination

Hi, I tried cancelling a dataflow refresh using the following API: 

 
But I had used a wrong combination of
  • workspaceId - correct
  • itemId - wrong (I had used the itemId of a notebook in the same workspace)
  • jobInstanceId - correct

Still, the API returned status 202 Accepted.

But the dataflow refresh didn't get cancelled.

 

Suggestion: The API should return an error code if the combination of workspaceId, itemId and jobInstanceId is invalid.

 

To be clear: later, after I had noticed myself that I used the wrong itemId, I switched to using the correct itemId and then the dataflow refresh got cancelled as expected.

Status: Completed
Comments
zhaya
Microsoft Employee
Status changed to: Completed