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 / Excel "Delete a Row" a...
Power Automate
Unanswered

Excel "Delete a Row" action - BadRequest error when deleting some rows

(0) ShareShare
ReportReport
Posted on by 2
Hello,
 
A few months ago, I created a flow which adds and removes rows to an Excel list based on a Power BI report. When this flow adds rows to this Excel file, it also generates and adds a unique identifies with the format Day/Month/Year_City_Sum (For Example, 1/26/2023_Timbuktu_21 ). When it deletes the row, it first retrieves the current Excel sheet, and filters it so that it only deletes rows which are no longer in the Power BI report. While this flow has worked well, I started to get errors on the "Delete a Row" Excel action a couple weeks ago.
 
This error was: BadRequest - "The argument is invalid or missing or has an incorrect format."
 
In my experience, this error occurs when Power Automate tries to delete a row that isn't on the Excel list, but I checked the Excel list an the row that it's trying to delete is there. What makes this even stranger is that this error doesn't happen consistently. I can have one day where that row is successfully deleted, while on other days, I'll get the BadRequest error.
 
Does anyone know what might cause this error? It is caused by Power Automate not finding the row in Excel, or could something else cause this BadRequest error?
 
Any help with this issue would be greatly appreciated.
Categories:
ErrorMessage.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • CU26091807-0 Profile Picture
    2 on at
    I am also experiencing the same issue. Have not found a solution yet. This is happening intermittently and started a couple of weeks back. The key column I am using is just just a number column in my case. 

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard