# Amazon S3 拒绝访问错误

**URL:** <https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312>\
**Category:** Support\
**Created:** [2018年七月27日 18:32 UTC](https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312 "2018-07-27T18:32:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jane\_Jojo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jane_jojo/32/119485_2.png) [@Jane\_Jojo](https://meta.discourse.org/u/Jane_Jojo)\
**Post date:** [2018年七月27日 18:32 UTC](https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312/1 "2018-07-27T18:32:31Z")

</div>

Images in my blog post are starting to show up as access denied from Amazon S3

> **[Mushroom masala stir fry (Indian Style)](https://comments.alittlebitofspice.com/t/mushroom-masala-stir-fry-indian-style/1700/10)**
>
> It was the best. I had it with multigrain bread. And thd mushroom turned out soooo good and yummm ! Thanks for sharing.!

 ![Screen Shot on 2018-07-27 at 11:30:46.png](https://global.discourse-cdn.com/meta/original/3X/3/1/31114e304c41e16a7ac4009ba0f0995287faa378.png)

I haven’t changed any s3 settings in the past 4-5 months. Did something go wrong for me?

How can I fix it?

---

<div class="post-metadata">

**Author:** ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)\
**Post date:** [2018年七月27日 20:29 UTC](https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312/2 "2018-07-27T20:29:11Z")

</div>

Look in the AWS web console at the S3 bucket `alittlebitofspice-comments-backup` and see if the file `optimized/1X/4b9d7dfd565a6057b2b981c07bebc792fac6ffe6_1_690x388.jpg` is still there? If so, do the permissions include Read for Everyone?

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/e/ee48a789c99f2e0932ae8b395e11fc1c73f33f2c.png)

---

<div class="post-metadata">

**Author:** ![Jane\_Jojo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jane_jojo/32/119485_2.png) [@Jane\_Jojo](https://meta.discourse.org/u/Jane_Jojo)\
**Post date:** [2018年七月28日 01:43 UTC](https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312/3 "2018-07-28T01:43:41Z")

</div>

I don’t see the image there. I see a lot of hashed image URLs and its all profiles pics, none post pics.

 ![Screen Shot on 2018-07-27 at 15:09:44.png](https://global.discourse-cdn.com/meta/original/3X/d/5/d5fd33cc609dd281cb478d895212666fd90c3eb1.png)

It’s the same with the “original” folder too

 ![Screen Shot on 2018-07-27 at 15:17:20.png](https://global.discourse-cdn.com/meta/original/3X/b/9/b9e82824917f74e930760e511e2cf432291e2a6c.png)

on a side note, I noticed an expiration rule:

 ![Screen Shot on 2018-07-27 at 15:18:13.png](https://global.discourse-cdn.com/meta/original/3X/5/5/55af5ce531eca2bd53e88664179a20873cab2c7e.png)

Does this disappearance have anything to do with that? If so, how can I restore?

 ![Screen Shot on 2018-07-27 at 18:42:39.png](https://global.discourse-cdn.com/meta/original/3X/2/3/237cf91dab22b5a429846ec547ae083c3522f532.png)

---

<div class="post-metadata">

**Author:** ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)\
**Post date:** [2018年七月28日 04:38 UTC](https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312/4 "2018-07-28T04:38:01Z")

</div>

> [@Jane\_Jojo](#):
>
> on a side note, I noticed an expiration rule:

This is most likely cause.

> [@Jane\_Jojo](#):
>
> If so, how can I restore?

Try this simple guide for restoring an archived object:

> **[Restoring an archived object - Amazon Simple Storage Service](https://docs.aws.amazon.com/AmazonS3/latest/userguide/restoring-objects.html)**
>
> Access an archived object in Amazon S3 by initiating a restore request, which you can do programmatically or by using the console.

You should find your image in the archive if the expiration rule was the cause of the disappearance.

---

<div class="post-metadata">

**Author:** ![Jane\_Jojo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jane_jojo/32/119485_2.png) [@Jane\_Jojo](https://meta.discourse.org/u/Jane_Jojo)\
**Post date:** [2018年七月30日 02:13 UTC](https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312/5 "2018-07-30T02:13:57Z")

</div>

I checked the bucket/folder and the “deleted” images aren’t there.

So I wrote another the response as another post since the issue now is no more about s3 bucket and versioning (or that’s what I think)

[https://meta.discourse.org/t/don-t-see-uploaded-images-404ing-and-uploads-tar-gz-does-not-show-them/93429](https://meta.discourse.org/t/don-t-see-uploaded-images-404ing-and-uploads-tar-gz-does-not-show-them/93429)

Can you please take a look?

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2018年八月29日 02:13 UTC](https://meta.discourse.org/t/access-denied-errors-from-amazon-s3/93312/6 "2018-08-29T02:13:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
