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 / Urgent help required: ...
Power Apps
Unanswered

Urgent help required: Getting error while saving the entry in Excel based form in Power Apps

(0) ShareShare
ReportReport
Posted on by 2

Hi Folks,

 

I am creating an app where user can make a lot entry in system. I am using Excel Online as data source. When user fills the form first time, he/she is able to save the details, but when they try to make another entry for the second lot, they get the following error:

Network error when using Patch function: The item has already been created on the server.

 

Scenario is: we receive multiple lots against one Journal, so we open the Journal, and we see Add lots button.

rsinha_0-1698660661396.png

 

OnSelect property for New Entry button: 
ResetForm(FormName); NewForm(FormName); Navigate('New Journal Information Screen',ScreenTransition.Fade)

it opens a Power Apps form, and when we save first lot details, it gets saved. But when we try to enter second lot info for same journal, that error is coming.

rsinha_1-1698660695372.png

 

Save button OnSelect  property: 

SubmitForm(Form6); Notify("Entry has been submitted successfully");

 

Any help would be really appreciated.

 

Thank you!

Categories:
  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @rsinha 

     

    Try resetting the form also after the SubmitForm and see if this works. 

     

    Save button OnSelect  property: 

    SubmitForm(Form6);ResetForm(FormName);Notify("Entry has been submitted successfully");

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @rsinha 

     

    Try resetting the form also after the SubmitForm and see if this works. 

     

    Save button OnSelect  property: 

    SubmitForm(Form6);ResetForm(FormName);Notify("Entry has been submitted successfully");

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • rsinha Profile Picture
    2 on at

    Sorry @SpongYe , no luck. Getting the same error.

  • Sickle-Cell Profile Picture
    600 Super User 2024 Season 1 on at

    Hi - in your excel online data source, do you have a column for a PowerApps ID? Or are you using the Journal Acronym field as the primary key? 

  • rsinha Profile Picture
    2 on at

    We are using Journal Acronym as primary, yes this could be the reason. 
    How should I rectify this?

  • Sickle-Cell Profile Picture
    600 Super User 2024 Season 1 on at

    I would enter a new column in your excel table to function as a primary key - this is sometimes suggested when adding a data source so another option is to remove and re-add the data source and it might prompt you to auto-add a PowerAppsID column to serve as a primary key

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard