Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3::Error::NoSuchKey: The specified key does not exist #122

Open
sieudang2002 opened this issue Nov 25, 2016 · 2 comments
Open

S3::Error::NoSuchKey: The specified key does not exist #122

sieudang2002 opened this issue Nov 25, 2016 · 2 comments

Comments

@sieudang2002
Copy link

sieudang2002 commented Nov 25, 2016

Hi there,

I got this bug when I have trying to using bucket.objects.find.
used version : 0.3.24


    amazon = S3::Service.new(access_key_id: S3_CREDENTIALS[:access_key_id],
                             secret_access_key: S3_CREDENTIALS[:secret_access_key])

    bucket = amazon.buckets.find(S3_CREDENTIALS[:bucket])

    file = bucket.objects.find(file_name)

    file.content

The problem is the files exist in the bucket, but can't be found

Can anyone help me please?,

Thanks,
Luong

@arthurnn
Copy link
Collaborator

arthurnn commented Jan 3, 2017

Not sure.. Maybe that user don't have read access to the file?

@rathod4rathod
Copy link

NOSUCHKEYTHE SPECIFIED KEY DOES NOT EXIST. (TRUNCATED...) NOSUCHKEY (CLIENT): THE SPECIFIED KEY DOES NOT EXIST. - NOSUCHKEYTHE SPECIFIED KEY DOES NOT EXIST.98690/8477126/6/1.JPG.INSTRUCTION4729FB8F2D74DDE5WP1USTWJP9GE+CC5UDDKZGCUTRWC725KYLQAV/EP0L3+HPS4+BXDKOGVRS2IR2O2R3AOYFPPB0A= " HEIGHT="150PX" WIDTH="150PX">
i got this type of error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants