Forum Discussion
Issue with 202 Status Code and Polling for Notebook Definition in Microsoft Fabric API
Hi Shubhorin1,
For 403 error, it means your request is authenticated but isn’t authorized to perform the requested operation on the
given resource. If this issue only appear when you request with the specific location, it means the location not existed or your not has enough permission to processing them.
403 Forbidden vs 401 Unauthorized HTTP responses - Stack Overflow
For your code, it seems well, but I think you can increase the operations interval. (currently it seems send too quickly which may trigger the rest API request limits)
Regards,
Xiaoxin Sheng
Hi Anonymous
As an admin in my workspace, I have access to both the notebook from which I am making the API call and the target notebook whose content I am attempting to retrieve. Despite this, I am receiving a 403 (Forbidden) error. For the access token, I am currently using the following scopes: "https://api.fabric.microsoft.com/.default, Item.ReadWrite.All, Notebook.ReadWrite.All". With these scopes, I am able to successfully retrieve the list of notebooks within Fabric, but I am unable to access the content of the specified notebook. Is there an additional requirement or configuration needed to successfully call the API and access notebook content?
- Anonymous1 year agoNot applicable
Hi Shubhorin1,
As I said, the issue is caused by you not have permission to access. What the location that you requested?
Notice:I suppose some of folder and path you get currently not existed or release to users. So that you still not able to access and operate even if you have admin permission and configure the correct scope.
Regards,
Xiaoxin Sheng
- Shubhorin11 year agoFrequent Visitor
Hello Anonymous ,
Could you please guide me on where to configure access/permission for this? The notebook I am attempting to access is located within my workspace, and I am calling the API from the same workspace. Initially, I call the API to retrieve the list of all notebooks in my workspace, and then, using the notebook ID obtained from the results, I attempt to fetch the content of a specific notebook.