Uable to Connect to S3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2023 12:55 AM
ExecutionException: java.nio.file.AccessDeniedException: s3a://bucketName: Forbidden;
Hadoop 3.3.4, aws-sdk-java/1.12.189 Linux/5.15.0-1038-aws OpenJDK_64-Bit_Server_VM/25.362-b09 java/1.8.0_362 scala/2.12.14 kotlin/1.6.0 vendor/Azul_Systems,_Inc. cfg/.amazonaws.services.s3.model.GetObjectMetadataRequest;
no-credential-header signature-present: false (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; ; S3 Extended Request ID: ID :403 Forbidden
We have correct IAM Roles and Instance Profile Role. We were able to connect post this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 09:41 AM
https://kb.databricks.com/en_US/security/forbidden-access-to-s3-data
https://kb.databricks.com/en_US/delta/s3-permissions-delta
You can check this two. see if this helps.

