Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Network error when using Patch function: The specified record was not found

(0) ShareShare
ReportReport
Posted on by

I've never even heard of Power Apps when someone dropped a huge app on me. Now the users are reporting the error (see title of this post).

 

Looking at the app in the editor - the screen in question is like a bunch of other screens in the app, with an icon to save and go to the next screen. I cannot find a "patch" call anywhere, the icon just calls:

 

 

If(varLocked, Navigate(AssessmentHealth2), (Set(blnBack, false) && SubmitForm(AssessmentForm24)));

 

 

 

Looking at the documentation for SubmitForm (https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-form) isn't helping me much.

 

How do I fix this, I don't even know where to start.

 

 

 

Categories:
  • agamarra Profile Picture
    6 on at
    Re: Network error when using Patch function: The specified record was not found

    useless answer

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Network error when using Patch function: The specified record was not found

    So the problem in my case was a data card was mapped to the wrong SharePoint list. Also I did not know (at the time) how to check what it was mapped to. After picking the data card, then select "Item" from the drop down. See attached images.

     

    Then if you are lucky, after you pick "Item" after some time the formula field will fill in. Seriously, you cannot trust what the formula field says

     

    I will attach two images (wrong and right), of the exact same selection, with no code changes, but the fx field is different! This is not due to any change on my part, it is due to power apps lag/bug.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Network error when using Patch function: The specified record was not found

    @Anonymous 

    PowerApps interprets SubmitForm() as a type of patch.  Good luck if you are now responsible for a big app and it's formulas haven't been documented internally. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard