title: ClientError: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
body: <p>I am working with python in a jupyter notebook.
  I am trying to access several parquet files from an aws s3 bucket and convert them all into one json file. I know I have access to the data, but I am getting:</p>
  <pre><code>ClientError: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
  </code></pre>
  <p>Here is the code I have:</p>
  <pre><code>import boto3
  
  s3_resource = boto3.resource('s3')
  
  s3_client = boto3.client('s3')
  bucket = s3_resource.Bucket(name='my-bucket')
  
  all_objects = s3_client.list_objects(Bucket = 'my-bucket', Prefix = 'Files.parquet')
  </code></pre>
  <p>I am not sure where the access denied is coming from. Thank you so much!</p>