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

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Error When Trying to Create SP List Item from Blank MS Forms Responses

(1) ShareShare
ReportReport
Posted on by
Hi everyone,
 
I have a relatively simple flow, in essence it takes responses from an MS Forms submission and uses it to create a SP item.  There are certain restricted questions in the MS Forms, for example: date only, number only, character limit, etc.  It is a very long form with lots of branching so many questions will sometimes not have responses.  I am encountering an error with the 'Create item' action in Power Automate when I try to place these unpopulated, restricted responses into the action.  The error doesn't occur if the unpopulated field is not restricted (i.e. free text with no restrictions).  And say, for instance, that field is populated in one of the submissions, the error does not appear.  Any suggestions on how I might be able to avoid this?  I've attached a screenshot of the error for reference.  Thank you!
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    14,777 Super User 2025 Season 2 on at
    Error When Trying to Create SP List Item from Blank MS Forms Responses
    Hi,
     
    I typically use an if and empty expression together so in the case of a field with no value from the Form you can see if it is empty, if true, insert null as the value (or 0 I use sometimes for numeric fields), null works great for date columns.
     
    If not empty, then you write the value from the form shown below.  In my example, if the 'name' question is empty, I am writing null (in case it is a required field in the List).
     
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • trice602 Profile Picture
    14,777 Super User 2025 Season 2 on at
    Error When Trying to Create SP List Item from Blank MS Forms Responses
    BTW: disregard the create worksheet content in my example, just showing you how to use if and empty together to handle blank values when writing to your list.
  • trice602 Profile Picture
    14,777 Super User 2025 Season 2 on at
    Error When Trying to Create SP List Item from Blank MS Forms Responses
    Hey there!
     
    I am following up on this post error when trying to create sp list item from blank ms forms responses in this category building flows from 01/16/2025.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 2 replies and 1 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    14,777 Super User 2025 Season 2 on at
    Error When Trying to Create SP List Item from Blank MS Forms Responses
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 655 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 371 Moderator

#3
chiaraalina Profile Picture

chiaraalina 276

Last 30 days Overall leaderboard