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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anushka96
Frequent Visitor

Can't access the Lakehouse when using notebook in pipeline

When using notebooks with pipeline I was encountered with following error.

"Py4JJavaError","evalue":"An error occurred while calling o4717.table.\n: java.lang.RuntimeException: Request failed: HTTP/1.1 403 Forbidden\n\tat com.microsoft.fabric.spark.metadata.Helpers$.executeRequest

It seems like a permission issue I have faced it when script running using notebooks. I was able to avoid it by draging the lakehouse to cell for once.  In notebooks I am using absoulte path for tables. Anyone have a soloution for this?

3 REPLIES 3
ML15
Regular Visitor

v-yilong-msft
Community Support
Community Support

Hi @Anushka96 ,

This error usually means that you have been denied permissions when trying to access a resource.

 

I think you can do something below:

1. make sure you are using the correct paths in your code. For example, use an absolute path instead of a relative path to access a table in Lakehouse.

2. Make sure you have the proper permissions to access that resource. If it's an API call, confirm that your API key or token is valid and that you have sufficient permissions.

3. Confirm that the URL you are requesting is correct, sometimes misspellings or wrong paths can cause 403 errors.

4. Of course sometimes firewalls or security settings can block the request, make sure these settings allow your request to go through.

 

You can also check out this post below to gain more knowledge on the document: Troubleshoot security and access control issues - Azure Data Factory & Azure Synapse | Microsoft Lea...

 

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Notebook even tells that error when I am running them individually as well without using a pipeline. I am using abfs paths and also it working sometime.I am a workspace administrator so this cannot due to permission errors.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.