web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get S3 Object Content ...
Power Automate
Answered

Get S3 Object Content Fails with NotFound When File has no Extension

(0) ShareShare
ReportReport
Posted on by 13

We are testing out a downloading files from S3 buckets using Power Automate cloud flows.

 

Using the "Get S3 object content" action, our manually triggered flow works as expected if the key of the object (the path and filename) has a file extension, like .txt: DEV/folder/file_name_000.txt

 

If the file that we are trying to download does not have an extension: DEV/folder/file_name_000

 

we get a NotFound error with body:

{
  "status"404,
  "message""The object key was not found in the S3 bucket. AWS Request Id: <snip> AWS Id2: <snip>.\r\nclientRequestId: <snip>",
  "error": {
    "message""The object key was not found in the S3 bucket. AWS Request Id: <snip> AWS Id2: <snip>."
  },
  "source""amazons3-wus.azconn-wus.p.azurewebsites.net"
}
 
Both files are in the same folder that has the same permissions, and the files are accessible using other tools like S3 Browser.
 
Is there a setting or parameter in the action that we need to pass along as part of the request?

Thanks
Categories:
I have the same question (0)
  • Anupam.khasia Profile Picture
    366 on at

    @Sohrab  - looks you are passing file name without extension , you must pass full name with extension . system will not pick anonymously with only file name.  

  • Sohrab Profile Picture
    13 on at

    @anupam8555 you're right that we aren't passing an extension in the failing case.  Note though, that the file that we need to pull *has no extension* on the S3 side, the file is named "file_name_000"

  • Verified answer
    Sohrab Profile Picture
    13 on at

    This error seems to be related to S3 permissions or something else, as we have now generated some passing test cases where the object has no file extension.  Thanks for your help.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard