cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zemerson
Level: Powered On

Unable to Submit Form - "The requested operation is invalid."

I have a form generated from a Sharepoint list that somehow seems to have an issue with the connector. Upon attempting to submit an item through the form, the generic "Unable to save changes - Data source may be invalid" error appears. When checking the object throwing the error, it reads: "The requested operation is invalid. Server Response: The string was not recognized as a valid DateTime. There is an unknown word starting at index 1." and then a clientRequestID and serviceRequestID follows (The error is attached as 'powerapps issue'). I tried to roll back to a previous build, but I get the following error: "Restore failed. The user with object id (my object ID) in tenant '0c5780e7-f6ce-48f8-a953-82680ecd7c52' does not have access to permission 'Set PowerApps Connection Direct Consent Bypass' in environment 'Default-0c5780e7-f6ce-48f8-a953-82680ecd7c52'. Error Code: UserMissingRequiredPermission' (Attached as 'powerapps issue2')

I have never seen the second error, and I have done rollbacks without any issues previously.

3 REPLIES 3
Community Support Team
Community Support Team

Re: Unable to Submit Form - "The requested operation is invalid."

hi @zemerson,

About the First error:

 

Can you share a bit more about your app’s configuration?

Do this issue show up only when editing an existing item within your app?

 

I have made a test on my side and don’t have the issue that you mentioned.

Please try to remove data source and reconnect it.

Please check if you have modified  some columns of your SP list on your side

 

Please try to recreate an app based on your SP list , and then try it again to check if the issue still exists. if the

Issue still exists, please take a try to recreate your SP list and create a new app, check if the issue is solved.

 

In addition , if you want to modify an existing item in your SP list, I think the patch function could also achieve your needs. more

Details about patch function in powerapps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch

 

About the Second error:

 

Can you share a bit more about your app size?

If you have too many version or your app is too large,the error will be displayed.

please refer as:

https://powerusers.microsoft.com/t5/General-Discussion/Cannot-restore-app-version-because-it-will-no...

please check with account that you have full access in admin account

 

Please check if you are in the tenant .if not, try with another O365 tenant

Please check the current Environment that you want to restore.

please refer as 

https://docs.microsoft.com/en-us/powerapps/administrator/environments-administration

 

regards,

eason 

Community Support Team _ Eason YU
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
zemerson
Level: Powered On

Re: Unable to Submit Form - "The requested operation is invalid."

Hey Eason,

 

Thanks for the detailed response. I'll do my best to answer everything.


Error 1:

 

My app is a 75-field form generated from a SharePoint list. I'm using booleans to control what fields are displayed, based on what is selected from a drop-down. Editing items appears to be broken as well.

 

I deleted/readded the data connection, which fixed it momentarily, but upon using a specific set of fields, it was broken again. I cannot find a correlation between the fields and the error received, though.  I created an app from the list, and it looks like it was able to submit without any issues, so it definitely seems to be specific to the app and not necessarily the list.  I'll test the Patch() function shortly. 

 

Error 2:

 

The app exports to a 677 KB archive, and currently has about 40 versions. I am on the PowerApps 1 license, so I do not have access to admin rights. I should be in the tenant, though I'll investigate further. 

 

I appreciate your help!

 

-Zack

 

Community Support Team
Community Support Team

Re: Unable to Submit Form - "The requested operation is invalid."

hi @zemerson,

 

Thank you for your reply.We are glad to hear that your question has been solved. 

I'm looking forward to further information

 

regards

Eason

Community Support Team _ Eason YU
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 447 members 4,896 guests
Recent signins:
Please welcome our newest community members: