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.
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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,671)