<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Access denied error to s3 bucket in Databricks notebook in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/access-denied-error-to-s3-bucket-in-databricks-notebook/m-p/48767#M28376</link>
    <description>&lt;P&gt;When running a databricks notebook connected to an s3 cluster I randomly but frequently experience the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;java.nio.file.AccessDeniedException: s3://mybucket: getFileStatus on s3://mybucket: com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden; request: HEAD https://mybucket.s3.eu-west-2.amazonaws.com hybrid {} Hadoop 3.3.4, aws-sdk-java/1.12.189 Linux/5.15.0-1045-aws OpenJDK_64-Bit_Server_VM/25.362-b09 java/1.8.0_362 scala/2.12.14 vendor/Azul_Systems,_Inc. cfg/retry-mode/legacy com.amazonaws.services.s3.model.GetObjectMetadataRequest; Request ID: BPE1N5PBRHX6AXXX, Extended Request ID: A9yWOO63cwg7PgdVihRC/bqVlOBwElgqYliThPpm56lH0lM/Xf09+g8Dkzdylpp422togli3000=, Cloud Provider: AWS, Instance ID: i-0ed293c3b4d8b0e15 credentials-provider: com.amazonaws.auth.AnonymousAWSCredentials credential-header: no-credential-header signature-present: false (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: BPE1N5PBRHX6AXXX; S3 Extended Request ID: A9yWOO63cwg7PgdVihRC/bqVlOBwElgqYliThPpm56lH0lM/Xf09+g8Dkzdylpp422togli3000=; Proxy: null), S3 Extended Request ID: A9yWOO63cwg7PgdVihRC/bqVlOBwElgqYliThPpm56lH0lM/Xf09+g8Dkzdylpp422togli3000=:403 Forbidden&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When submitting jobs to the cluster using vs code I don't have this issue. Is there a best practice for setting up s3 in notebooks? The error is intermittent but happens frequently without any obvious cause and interrupts development.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 13:16:02 GMT</pubDate>
    <dc:creator>phoebe_dt</dc:creator>
    <dc:date>2023-10-09T13:16:02Z</dc:date>
    <item>
      <title>Access denied error to s3 bucket in Databricks notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/access-denied-error-to-s3-bucket-in-databricks-notebook/m-p/48767#M28376</link>
      <description>&lt;P&gt;When running a databricks notebook connected to an s3 cluster I randomly but frequently experience the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;java.nio.file.AccessDeniedException: s3://mybucket: getFileStatus on s3://mybucket: com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden; request: HEAD https://mybucket.s3.eu-west-2.amazonaws.com hybrid {} Hadoop 3.3.4, aws-sdk-java/1.12.189 Linux/5.15.0-1045-aws OpenJDK_64-Bit_Server_VM/25.362-b09 java/1.8.0_362 scala/2.12.14 vendor/Azul_Systems,_Inc. cfg/retry-mode/legacy com.amazonaws.services.s3.model.GetObjectMetadataRequest; Request ID: BPE1N5PBRHX6AXXX, Extended Request ID: A9yWOO63cwg7PgdVihRC/bqVlOBwElgqYliThPpm56lH0lM/Xf09+g8Dkzdylpp422togli3000=, Cloud Provider: AWS, Instance ID: i-0ed293c3b4d8b0e15 credentials-provider: com.amazonaws.auth.AnonymousAWSCredentials credential-header: no-credential-header signature-present: false (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: BPE1N5PBRHX6AXXX; S3 Extended Request ID: A9yWOO63cwg7PgdVihRC/bqVlOBwElgqYliThPpm56lH0lM/Xf09+g8Dkzdylpp422togli3000=; Proxy: null), S3 Extended Request ID: A9yWOO63cwg7PgdVihRC/bqVlOBwElgqYliThPpm56lH0lM/Xf09+g8Dkzdylpp422togli3000=:403 Forbidden&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When submitting jobs to the cluster using vs code I don't have this issue. Is there a best practice for setting up s3 in notebooks? The error is intermittent but happens frequently without any obvious cause and interrupts development.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:16:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-denied-error-to-s3-bucket-in-databricks-notebook/m-p/48767#M28376</guid>
      <dc:creator>phoebe_dt</dc:creator>
      <dc:date>2023-10-09T13:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Access denied error to s3 bucket in Databricks notebook</title>
      <link>https://community.databricks.com/t5/data-engineering/access-denied-error-to-s3-bucket-in-databricks-notebook/m-p/111637#M43958</link>
      <description>&lt;P&gt;Hey! I'm getting this same error connecting to s3 compatible storage - MinIO. Were you able to resolve this? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 21:52:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/access-denied-error-to-s3-bucket-in-databricks-notebook/m-p/111637#M43958</guid>
      <dc:creator>pg289</dc:creator>
      <dc:date>2025-03-03T21:52:54Z</dc:date>
    </item>
  </channel>
</rss>

