cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ms-PowerRanger2
Advocate I
Advocate I

Power Automate - Add a Row into a Table (Excel Online Business) - Status 400 - A value must be provided for item

  1. I used the "Compose" action to compose a json expression for entering a row into an Excel Table. For example:
    • Compose Action & Excel File Table

{

 "Id #": item()?['Title'],

 "Name": item()?['Task']

}

 

MsPowerRanger2_0-1640018046644.png

 

  1. I then used the output from the "Compose" action  to "Add a Row into a Table (Excel Online Business)" action

outputs('Compose')

  1. The flow would constantly fail in the "Add a Row into a Table" action with Status 400 - A value must be provided for item
  2. Through some troubleshooting, the issue was that there was a column that contained the "#" sign as part of the column name in the spreadsheet.
  3. Once I removed the # sign from the column name in the spreadsheet and removed it in the "Compose" statement, all ran successfully

{

 "Id": item()?['Title'],

 "Name": item()?['Task']

}

 

MsPowerRanger2_1-1640018414358.png

 

There may be info about this, but I was unable to find it, so just thought I'd share. 

 

If anyone knows where this information is provided, please let me know, so I'll know where to look the next time.

 

Thanks!

 

"Also noted that the issue appears if you have a "." period as part of the Column Title in the Excel file.  So I would image that this potentially happens for some other non-alpha numeric characters and also possibly when the column in the compose does not match up with the column in the Excel file."

2 REPLIES 2
rgentile
Advocate I
Advocate I

Thank you @Ms-PowerRanger2!

 

I was struggling with this exact problem for a few days.   I removed the # in the header name as you suggested and the problem went away! 

 

Thank you, thank you, thank you!  And Merry Christmas 🙂

I'm so glad the solution worked for you.  Merry Christmas to you also!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,813)