Closed hugjchina closed 3 years ago
I resolved the "Access Denied" , the next problem is
NoSuchKey
How can I do ?
@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?
@hugjchina How did you resolve the Access Denied problem? I'm having the same issue, but can't figure out how to solve it.
@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"
}
}
@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 https://github.com/sagidM/s3-resizer/issues/9?
I can test successful in Lambda , but I test in my chrome brower and the system return "Access Denied". Could help me? Thanks !!
AccessDenied