cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
R3dKap
Super User
Super User

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
v-xida-msft
Community Support
Community Support

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

2 REPLIES 2
v-xida-msft
Community Support
Community Support

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

Rodolfolop
Frequent Visitor

Here is the complete List:

 

0 None
1 Sync
2 MissingRequired
3 CreatePermission
4 EditPermissions
5 DeletePermissions
6 Conflict
7 NotFound
8 ConstraintViolated
9 GeneratedValue
10 ReadOnlyValue
11 Validation
12 Unknown
13 Div0 (Division by 0 error)
14 BadLanguageCode
15 BadRegex
16 InvalidFunctionUsage
17 FileNotFound
18 ErrorKind.AnalysisError
19 ReadPermission
20 NotSupported
21 InsufficientMemory
22 QuotaExceeded
23 Network
24 Numeric
25 InvalidArgument

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,145)