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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Sheet action in Go...
Power Automate
Answered

Get Sheet action in Google Sheet gives 404 error

(0) ShareShare
ReportReport
Posted on by 8

Hi All,

 

I have created a flow which goes like this:

1) get attachment from mail. (attachment is a excel file)

2) create file in google drive with data from attachment.

3) read the created file using googlesheet connector.

 

the first 2 steps work perfectly.

In 3rd step, I tried to read the file using id, name, displayname but nothing works. It gives me error 404, but when I check in google drive the file is present.

 

What could be the possible reason?

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Swapnil,

     

    Could you please show a bit more about your error message?
    Further, do you want to get rows of the excel file using Google Sheets connector?

    The 404 error told that the resource that you request is not found. The excel file is created in Google Drive rather than Google Sheets, we couldn’t read the created file in Google Drive using actions of Google Sheets connector.

    If you want to read the created file in Google Drive, please take a try with the following workaround:

    1. Add “When a new email arrives” trigger.
    2. Add “Apply to each”, input parameter set to output of output of above trigger.
    3. Within “Apply to each”, add “Create file” action of Google Drive.
    4. Add a “Get rows” action of Excel connector, create a connection to Google Drive, the screenshot as below:4.JPG

      Note: The data of Excel file should be formatted as a table, otherwise, the "Get rows" action of Excel connector will not take effect.

    Image reference:5.JPG

    The flow works successfully as below:6.JPG

     

     

     

    Best regards,

    Kris

  • Swapnil Profile Picture
    8 on at

    hi @v-xida-msft

     

    Thanks for your reply.

     

    Following is the screenshot with the error msg. In get sheet action I had given the "id" of the file created in google drive.

    error.JPG

     

     

    Yes I want to get rows from the excel sheet.

    The excel file is created in Google Drive rather than Google Sheets, we couldn’t read the created file in Google Drive using actions of Google Sheets connector. : Did not understood this.

    Is there a way to create file in google sheets?

    I have tried the same thing with Excel connector, but the issue with that approach is we need to manually define the excel table in each sheet of the excel, since excel connector can only retrieve the data from the sheet if the content is marked as excel table.

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Swapnil,

     

    Creating files in Google Sheets is not supported in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    More details about the Google Sheets connector, please check the following document:

    Google Sheets connector

     

    Best regards,

    Kris

  • Swapnil Profile Picture
    8 on at

    Hi @v-xida-msft

     

    Thanks for the reply.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard