Getting the error mentioned below when I try to refresh the react based application which I deployed in Amazon AWS S3.
Did anyone face the same issue recently?
404 Not Found
Code: NoSuchKey
Message: The specified key does not exist.
Key: <KEY>
RequestId: C8BE5E360A29AA14
HostId: <HOSTID>
NoSuchKey means it cannot find the topic. I should've created both the topic and bucket notification using same credentials. But when creating the topic, it allowed me to create without any credential and ended up being created under anonymous user. That is what has caused it to throw NoSuchKey error.
To empty an S3 bucketIn the Bucket name list, select the option next to the name of the bucket that you want to empty, and then choose Empty. On the Empty bucket page, confirm that you want to empty the bucket by entering the bucket name into the text field, and then choose Empty.
You can restore the S3 data that you backed up using AWS Backup to the S3 Standard storage class. You can restore all the objects in a bucket or specific objects. You can restore them to an existing or new bucket.
PDF. Retrieves objects from Amazon S3. To use GET , you must have READ access to the object. If you grant READ access to the anonymous user, you can return the object without using an authorization header.
Fixed it :) ... I added index.html in error document section.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With