shrestha-rj
Databricks Partner

I'm reaching out to seek assistance as I navigate an issue. Currently, I'm trying to read JSON files from an S3 Multi-Region Access Point using a Databricks notebook. While reading directly from the S3 bucket presents no challenges, I encounter an "java.nio.file.AccessDeniedException" error when attempting to read from the Multi-Region Access Point. Any guidance or support you can provide would be greatly appreciated.

 
spark.read.json("s3://<bucket-name>/").display(). --- No issue
 
spark.read.json("s3://accesspoint/<ap-name>.mrap").display() -- java.nio.file.AccessDeniedException