Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

TIP - Error codes returned by Errors() function

Posted on by 1,594

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

Categories:
  • d2034 Profile Picture
    d2034 49 on at
    Re: TIP - Error codes returned by Errors() function

    Hello, here is the complete errors list:

    Microsoft Learn - Error handling - ErrorKind enum values 

     

  • dsoden Profile Picture
    dsoden 73 on at
    Re: TIP - Error codes returned by Errors() function

    Given recent announcements

    I have a YouTube video here and a Git Repo

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

    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

  • Verified answer
    v-xida-msft Profile Picture
    v-xida-msft on at
    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,

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard