Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Submit form works in edit mode but fails in play mode

(1) ShareShare
ReportReport
Posted on by

Hello everyone,

 

I have seen some weird behaviors, I have a simple form, and a button. The button is doing submit form, and that's it. The app is imported as an managed solution. Whenever submit form in the play mode, the app will give you an error :"Network Error when using Patch function: The requested operation is invalid". However, in the edit mode, the submission works properly. Monitor does not give any patch related error but has a weird error right after successful patch ( I attached the screenshot). Add another unmanaged solution layer seems solving this issue tho, I can't figure out what's going on here, the database is a SharePoint list. Really appreciate your help. 

  • BigGGG_7 Profile Picture
    on at
    Submit form works in edit mode but fails in play mode
    It's a simple submitform 
    SubmitForm(xxxx)
  • mmbr1606 Profile Picture
    12,104 Super User 2025 Season 1 on at
    Submit form works in edit mode but fails in play mode
    Hey 
     
    What function are u using to save the form? Submitform or patch?
     
    Can yoh Show the onselect of the Button please copy paste your code here thanks
  • BigGGG_7 Profile Picture
    on at
    Submit form works in edit mode but fails in play mode
    Up
  • BigGGG_7 Profile Picture
    on at
    Re: Submit form works in edit mode but fails in play mode

    Yes all permissions are set, it is working in edit and not working for everyone in play.

  • mmbr1606 Profile Picture
    12,104 Super User 2025 Season 1 on at
    Re: Submit form works in edit mode but fails in play mode

    hey @BigGGG_7 

     

    did u check if the user has the right permissions to the list?

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,957 Most Valuable Professional

Leaderboard