An error occurred (404) when calling the HeadObject operation: Not Found
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An error occurred (404) when calling the HeadObject operation: Not Found:
I had the same issue recently. You are probably misspelling the path and folder name. In my case, for example, I was messing up with the ‘/’.
To fix it, make sure the variables you are using as arguments for the function contains the correct names of the directories, folders and files as it is in S3. Also, make sure you put the ‘/’ in the correct places in the correct variables. For instance, in my case I found that:
I hope it helps you and others to get around this error easily.