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 / Add a Row into a Table...
Power Automate
Unanswered

Add a Row into a Table (Apply to Each) - Status 400: A value must be provided for item

(0) ShareShare
ReportReport
Posted on by 2

I have created a flow to facilitate taking data from a SharePoint Document Library, writing it to an excel document table with the headers based on a document's columns in the library, and then send that excel document in an email to specific stakeholders. 

 

The flow currently parses that data successfully, as I can view this data in the raw code on the apply to each stage, and creates both the excel document and table within the document with the appropriate headers. Where the flow is failing as at an Apply to Each step with Add row to Table within it to occur on each current item. The flow is pictured below; any assistance would be appreciated. 

 

Ive searched around on the community for people with the same issue, and the solutions from their end do not apply. Here are a few things I have tried:

  1. Delete and readd the Apply to Each and Add row segment
  2. Confirm no column header has special characters

 

 
Spoiler (Highlight to read)
{
  "status": 400,
  "message": "A value must be provided for item.\r\nclientRequestId: d53b5f22-acca-4418-a57c-fa6521fe0518",
  "error": {
    "message": "A value must be provided for item."
  },
  "source": "excelonline-wus.azconn-wus-001.p.azurewebsites.net"
}
{  "status": 400,  "message": "A value must be provided for item.\r\nclientRequestId: d53b5f22-acca-4418-a57c-fa6521fe0518",  "error": {    "message": "A value must be provided for item."  },  "source": "excelonline-wus.azconn-wus-001.p.azurewebsites.net"}
 CAbele_9-1711651969000.png

 

CAbele_8-1711651934977.png

 

 CAbele_10-1711652071391.png

 

 CAbele_11-1711652110334.png

 

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Hi there, 

     

    Just to start with a question - are you positive that all of the columns listed have associated content in the document library? For example, does every single document have an RVP and DM set? Is it possible for them to not? 

     

    (Just starting the troubleshooting process with the obvious stuff...)

  • CA-06021636-0 Profile Picture
    2 on at

    Hello!

     

    The only time a document would not have the inquired columns is when a document is uploaded and has not yet been tagged using a power app on the form column. That process should be done as soon as the document is uploaded.

     

    As far as I can tell, there are no columns missing content at this time in testing. There ARE columns within the document library that are NOT being pulled into the flow as a column header, but I did not think that would matter as we mapped everything needed, and this still occurs when mapping all columns. 

     

    The columns not being mapped are:

    Document Type, Name, Form (Opens a Power App to edit data), Acknowledged (Yes or No), Completed (Yes or No), and Comments. 

     

     

     

    CAbele_0-1711982510766.png

     

  • CU09051504-0 Profile Picture
    2 on at
    en mi caso, cree una tabla con 54 columnas, sin caracteres especiales, sin puntos, sin espacios y funciono

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard