cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resident Rockstar
Resident Rockstar

TIP - Error codes returned by Errors() function

Hi all,

Here is the table provided by Microsoft Docs about the list of errors returned by the Errors() function, to which I just added their corresponding error code values:

 

ErrorCodeErrorKindDescription
6ErrorKind.ConflictAnother change was made to the same record, resulting in a change conflict. Use the Refresh function to reload the record and try the change again.
8ErrorKind.ConstraintViolationOne or more constraints have been violated.
3ErrorKind.CreatePermissionAn attempt was made to create a record, and the current user doesn't have permission to create records.
5ErrorKind.DeletePermissionAn attempt was made to delete a record, and the current user doesn't have permission to delete records.
4ErrorKind.EditPermissionAn attempt was made to edit a record, and the current user doesn't have permission to edit records.
9ErrorKind.GeneratedValueAn attempt was made to change a column that the data source generates automatically.
2ErrorKind.MissingRequiredThe value for a required column is missing from the record.
0ErrorKind.NoneThere is no error.
7ErrorKind.NotFoundAn attempt was made to edit or delete a record, but the record couldn't be found. Another user may have changed the record.
10ErrorKind.ReadOnlyValueAn attempt was made to change a column that's read only.
1ErrorKind.SyncAn error was reported by the data source. Check the Message column for more information.
12ErrorKind.UnknownThere was an error, but of an unknown kind.
11ErrorKind.ValidationThere was a general validation issue detected, that did not fit one of the other kinds.

Emmanuel

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: TIP - Error codes returned by Errors() function

Hi @R3dKap ,

Thanks for your sharing. I would also share this to my colleagues.

 

If you have any other questions about PowerApps, please feel free to repy here.

 

Best regards,

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

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: TIP - Error codes returned by Errors() function

Hi @R3dKap ,

Thanks for your sharing. I would also share this to my colleagues.

 

If you have any other questions about PowerApps, please feel free to repy here.

 

Best regards,

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

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (9,764)