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 Apps / Error when using the p...
Power Apps
Answered

Error when using the patch function

(0) ShareShare
ReportReport
Posted on by 775

Hi all, I have a question regarding the patch function. I get the following error when I try to import content from a collection in PowerApps to Sharepoint. Do you know why? Did I miss something? (See image)

 

image.png

 

Urlaubsverwaltung = SharePoint List

Urlaubantrag = PowerApps Collection

 

Thanks in advance

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,373 Most Valuable Professional on at

    Hi @PowerSäm ,

    If the the list contains all the fields (type and named) in the collection, you can do this

     

    Collect(
     Urlaubsverwaltung;
     Urlaubantrag
    )

    Note the matching comment - Patch will not work either if they do not match exactly.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • PowerSäm Profile Picture
    775 on at

    Thank you for your quick reply @WarrenBelz .

    What do you mean by exactly match? And what is the difference between patch and collect?

  • WarrenBelz Profile Picture
    156,373 Most Valuable Professional on at

    @PowerSäm ,

    For either to work, every field in the collection needs to exist in both name and type in the list. Collect and Patch are quite different functions and I prefer Collect for this particular use, but theoretically, Patch should work.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • PowerSäm Profile Picture
    775 on at

    Great, thank you. The Collect function works great too.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard