question

kr-pushpendra avatar image
0 Votes"
kr-pushpendra asked PRADEEPCHEEKATLA-MSFT commented

403 Error while executing notebook using spark.

Hi there,

Resources:

Storage Account -

  • Networking: Enabled from selected virtual networks and IP addresses [my IP is whitelisted]

  • IAM: Synapse MI and my user has Storage Blob Data Contributor role.

  • Private Endpoint to Storage Blob.

Synapse:

  • Networking: My IP is whitelisted.

  • Synapse Studio: My user is Synapse Administrator

I am able to browse the Container and files using Synapse Linked Services.

I am querying a file using Synapse Notebook and getting an error:

Py4JJavaError: An error occurred while calling 0723.load.
:java.nio.file.AccessDeniedException: Operation failed: "This request is not authorized to perform this operation.", 403, HEAD,

Please help me with the error.




azure-synapse-analyticsazure-databricksdotnet-ml-big-data
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @kr-pushpendra,

Thanks for the question and using MS Q&A platform.

Could you please share the complete stack trace of the error message which you are experiencing?

0 Votes 0 ·
kr-pushpendra avatar image kr-pushpendra PRADEEPCHEEKATLA-MSFT ·

Hi @PRADEEPCHEEKATLA-MSFT,

Please find the error message in the attached file.
229211-error.jpeg



Thanks,
Pushpendra

0 Votes 0 ·
error.jpeg (619.9 KiB)

Hello @kr-pushpendra,

Thanks for sharing the error message. Could you please share the code snippet which you are using to access the storage account?

0 Votes 0 ·
Show more comments

0 Answers