title: Difficulties removing files from an S3 bucket. How can I use logs?
body: <p>Having not yet figured out how to solve the issue mentioned in <a href="https://stackoverflow.com/q/50013876/174777">StackOverflow: Cannot remove audio data on AWS-S3 in a Parse-Server app</a>.</p>
  
  <p>I started to tackle the problem by setting access logs on the server, following <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerLogs.html" rel="nofollow noreferrer">Amazon S3 Server Access Logging</a>, and see what is happening.</p>
  
  <p>When I run the code, I now see in the logs that there is a permission issue.</p>
  
  <p>But I do not know what is supposed to have a delete-permission and does not have it.</p>
  
  <p>Any suggestion on that matter, by some experienced person would be very much appreciated.</p>
  
  <p>Just for reference, this is the kind of errors I can see in the logs:</p>
  
  <pre><code>&lt;Error&gt;
  &lt;Code&gt;AccessDenied&lt;/Code&gt;
  &lt;Message&gt;Access Denied&lt;/Message&gt;
  &lt;RequestId&gt;838B2DE1279DC928&lt;/RequestId&gt;
  &lt;HostId&gt;Iu0JWlKTOz92+GTmI4fYXgQKa7b+BQppb/vNcjUDpsQDqvd+Our4nS7xNtsawQycTsP2A5F71h8=&lt;/HostId&gt;
  &lt;/Error&gt;
  </code></pre>
  
  <p>This log tells me that there is an "Access Denied", I don't know how to make sense of the rest.</p>
  
  <p>At this point I have tried to add AmazonS3FullAccess to every user or role that I could think of, related to this bucket; and it still does not work. I am definitely missing something. It may be obvious, but I have very little experience with these issues and can't see it.</p>