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

"Access Denied" in the brower #13

Closed
hugjchina opened this issue Mar 1, 2020 · 5 comments
Closed

"Access Denied" in the brower #13

hugjchina opened this issue Mar 1, 2020 · 5 comments

Comments

@hugjchina
Copy link

I can test successful in Lambda , but I test in my chrome brower and the system return "Access Denied". Could help me? Thanks !!

AccessDenied
Access Denied
E6BC853F822F087E

0W84WFaXXRCdQnZa1DWRSzQc0/LRijPbqjqSKf4tejzoXHmwF1nq9c42yWfXJa10i6CWmpBaO88=

@hugjchina hugjchina reopened this Mar 1, 2020
@hugjchina
Copy link
Author

I resolved the "Access Denied" , the next problem is
NoSuchKey
The specified key does not exist.
750x750/force.png
How can I do ?

@sagidM
Copy link
Owner

sagidM commented Mar 2, 2020

@hugjchina to the best of my understanding, when you do a request to 750x750/force.png, the image is being processed so that you have a directory named 750x750 with an image force.png in your bucket. However, your browser tells you NoSuckKey.
And at this point, if you do a request in an incognito mode (CTRL+SHIFT+N in Chrome, CTRL+SHIFT+P in Firefox), you will see the image.

Is everything correct?

@bynelus
Copy link

bynelus commented Jun 10, 2020

@hugjchina How did you resolve the Access Denied problem? I'm having the same issue, but can't figure out how to solve it.

@bynelus
Copy link

bynelus commented Jun 10, 2020

@sagidM Do you have an idea why I get access denied? I've followed every step, but I think I need to do some policy changes somewhere. This is what I get when testing the Lambda function:

{
  "statusCode": 403,
  "body": "Exception: Access Denied",
  "headers": {
    "Content-Type": "text/plain"
  }
}

@sagidM
Copy link
Owner

sagidM commented Jun 28, 2020

@bynelus does Access Denied appear on the image put anywhere or just when it is in a nested directory?
Any chance it might be a duplicate of #9?

@sagidM sagidM closed this as completed Jan 30, 2021
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