Hi there, I'm using the aws s3 bucket methods exac...
# ask-community
j
Hi there, I'm using the aws s3 bucket methods exactly as outlined in the docs, but I'm stuck on this 404 error when I try to download a file:
ClientError: An error occurred (404) when calling the HeadObject operation: Not Found')
I have a cloud prefect block that I have been using without issues for a while. I have an upload happening in the same script that runs just fine, too. I can also list the objects no problem. But I'm trying to download a file from a folder that is one level below my block's configured folder, and I can't seem to get it to download. I know I have the file name correct. nvm, I just solved this by entering the block's default bucket in the "from_path" arg. I thought that was a given, as it is with the other methods. I don't have to specify the default folder when I list, or when I upload, but I do have to when I download. I'd suggest making a note of this in the prefect aws s3 docs under the "download_object_to_path()" method reference.