Forum Discussion

shivam_dalvi's avatar
shivam_dalvi
Regular Visitor
1 year ago
Solved

Microsoft fabric notebook - to execute notebook externally using rest api

Hi Team,

 

While calling a notebook received an error below
{
"requestId": "<requestId_value>",
"errorCode": "RequestFailed",
"message": "Unable to process the request"
}

 

so to avoid this we need to use token, as per the documentation below we used Bearer Token generated here and tested the same in postman and it's able to give 202 which allows to execute the notebook.

https://learn.microsoft.com/en-us/rest/api/fabric/core/job-scheduler/run-on-demand-item-job?tabs=HTTP&tryIt=true#code-try-0

 

Is there a way to integrate a token refresh mechanism into our API calls to ensure continuous access?

4 Replies