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 / Issue with "One or mor...
Power Automate
Suggested Answer

Issue with "One or more fields provided is of type 'Null', a different type is expected."

(1) ShareShare
ReportReport
Posted on by 438
I am struggling with some input. Although it should be correct, it ends up being invalid. How can I solve the issue with the message 'One or more fields provided is of type 'Null'; a different type is expected'? Please help me out.
 
I created 'Condition 1' to check if the category is 'School' when an item is created in SharePoint. If the category is 'Dorm', it should go to the 'false' section and process both 'PBiS Send To Users Dorm' and 'PBiS Submitted Users Dorm' in parallel branches at the same time. It seems like the 'Update item 5' section failed, while all the others are working with no issues.
 
Categories:
I have the same question (0)
  • dylandavis09 Profile Picture
    on at
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
    Hi 
     
    Could you share what details you have passed to update item action ?
     
    Thanks & Regards,

    Nived N :rocket:

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    :magnifying_glass_tilted_left: Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! :raising_hands:

  • dylandavis09 Profile Picture
    438 on at
    Hi Nived,
     
    Here's two screenshots:
     
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
     
    Could you check what is second parameter you have provided in add expression ?
     
    The error occurs because that second parameter in add function is null.
     
     
    Thanks & Regards,

    Nived N :rocket:

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    :magnifying_glass_tilted_left: Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! :raising_hands:

  • Bavenraj Profile Picture
    12 on at
    The issue is in your add() function you used in the "Update Item 5" section. Check whether the values you are trying to add is not null. This might solve the issue. 
  • dylandavis09 Profile Picture
    438 on at
    I using for add function: 
    add(body('PBiS_Send_To_Users_Dorm')?['Value']?[0]?['DormD_x002d_Tickets'],triggerOutputs()?['body/DormD_x002d_Tickets'])

    DormD_x002d_Tickets: â€‹â€‹â€‹â€‹â€‹â€‹â€‹
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
    Hi 
     
    Is the value is empty for the DormD_x002d_Tickets when the item is created ?
     
     
  • dylandavis09 Profile Picture
    438 on at
    Ahh, when created it item: D_x002d_Tickets
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
    Hi 
     
    did not get what you said- could you please elaborate ?
     
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Based on the error message, the field you are using for the condition does not contain a value when the flow runs (it is null). You can do one of two things:
    1. Make the field used in the condition required in your SharePoint site so that it cannot be submitted without a value.
    2. Add an and condition to your conditions with an expression to that the field is not equal to null (type the word null, and do not select it from the expression builder. However, this is going to force it down the no side of the condition when the value is empty, so I would make it a required field.

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard