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 / The data source suppli...
Power Apps
Answered

The data source supplied to the function is invalid

(0) ShareShare
ReportReport
Posted on by 111

Hi everyone, i'm new in Power App's world. I'm trying to create a canvas app using my custom connector (connector API) on bc on prem. Every time i'm trying to Create a new record with : Patch(CustomConnector.GetPurchaseQuotes();Defaults(CustomConnector.GetPurchaseQuotes().value);{Nr:TextInput2;BuyFromVendorNo:TextInput2_1; BuyfromVendorName:TextInput2_2}); the output is "The data source supplied to the function is invalid".

I don't understand the reason why i have this error.

 

Thank you

 

Categories:
  • timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    @AnVt44 

    It's not possible to patch a custom connector. If you want to add a new record through a custom connector, you would need to configure a method in your custom connector that adds the record, and you would then call that method from Power Apps.

  • AnVt44 Profile Picture
    111 on at

    Thank you @timl! to adds a record i have to, necessary, using the action put? Or there is another method?

     

  • Verified answer
    timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    This would depend on your underlying API method to add the record. The 'verb' could be Put, but Post is also very common. 

  • AnVt44 Profile Picture
    111 on at

    thank you @timl, sorry for disturb

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard