title: fatal error: An error occurred (403) when calling the ListObjects operation: Forbidden | Resuming an aws s3 sync
body: <p>So I have a storreduce appliance and was running a sync job which died half-way through</p>
  
  <pre><code>aws s3 sync /jobs/ads/ --endpoint-url=http://data:5080 s3://chicago-stagin
  </code></pre>
  
  <p>The problem now is that I can't resume the job or resubmit the sync, I get the following running the above command</p>
  
  <pre><code>fatal error: An error occurred (403) when calling the ListObjects operation: Forbidden
  </code></pre>
  
  <p>I can cp a file up to the bucket no problem</p>
  
  <pre><code>aws s3 cp /var/log/messages --endpoint-url=http://data:5080 s3://chicago-staging
  upload: ./messages to s3://chicago-staging/messages   
  </code></pre>
  
  <p>There are no security policies on the bucket and I can read files too;</p>
  
  <pre><code>aws s3 ls --endpoint-url=http://data.chi.themill.com:5080 s3://chicago-staging
                         PRE .ARCHIVE/
                         PRE .common/
  </code></pre>
  
  <p>Any ideas? </p>
  
  <p>*UPDATE:</p>
  
  <p>Fixed by adding this into ~/.aws/config</p>
  
  <pre><code>[default]
   s3 =
   signature_version = s3
  </code></pre>