Dynamics 365 Error Codes
Look up a Dynamics 365 or Dataverse error code to see what it means and how to fix it.
Runs in your browser. Nothing you enter is uploaded.
48 common errors with causes and fixes.
Security and access
0x80040220PrivilegeDeniedThe user is missing a privilege needed for this operation on this table.0x80040231PrincipalPrivilegeDeniedThe user or team receiving the record does not hold the required privileges.0x80040204InvalidUserAuthThe user does not have the privilege to perform this action.0x80048405AccessDeniedAccess to the requested resource or operation is denied.0x8004F504AttributePermissionReadIsMissingThe user lacks read permission on a column protected by column security.0x8004032cBusinessNotEnabledThe user's business unit is disabled.0x80048d35CannotAssignRoleToDisabledUserA security role cannot be assigned, because the user is disabled.0x80050301CrmLicensingNoServicePlanThe user does not have the license needed to access this application.0x80050304CrmApiLicensingErrorThe user does not have the license needed for this API operation.
Records and data
0x80040217ObjectDoesNotExistThe record or object being requested was not found.0x80040203InvalidArgumentA value passed to the operation is not valid.0x8004023bInvalidOperationThe requested operation is not valid in this situation.0x80040200RequiredFieldMissingA required field was not provided.0x80040229InvalidOwnerIDThe owner ID is invalid or missing.0x80040215MissingOwnerThe item does not have an owner.0x80040237DuplicateRecordThe operation failed because of a SQL integrity violation.0x80040333DuplicateRecordsFoundThe record was not saved, because a duplicate detection rule found a match.0x80073002CrmSQLUniqueIndexOrConstraintViolationThe value duplicates another in a column with a unique constraint.0x80073001CrmSQLCharLengthTooLongA text value is longer than the column allows.0x80040227CannotDeleteDueToAssociationThe object cannot be deleted, because another object is associated with it.0x80060882ConcurrencyVersionMismatchThe record changed after it was retrieved, so the update was rejected.0x80060883ConcurrencyVersionNotProvidedThe request asked for a version check but provided no row version.0x8006088DOptimisticConcurrencyNotEnabledOptimistic concurrency is not available for this table.
Queries
0x80041103QueryBuilderNoAttributeA query refers to a column that does not exist on the table.0x80041102QueryBuilderNoEntityA query refers to a table that was not found.0x8004111eQueryBuilderAttributeNotFoundA required attribute was not specified in the query.0x80090101ColumnNameNotFoundThe named column cannot be found on the named table.0x8004E023AggregateQueryRecordLimitExceededAn aggregate query processed more records than the limit stated in the message.
Solutions and customization
0x80090412EntityCustomizationLockExceptionThe operation is blocked, because a table customization is running.0x8004F061CustomizationLockEx_BothUnknownThe operation cannot start, because a customization is already running.0x8004801DImportMissingDependenciesErrorThe solution cannot be imported, because components it depends on are missing.0x80072039MissingDependencyFoundMissing dependencies were found.0x80040375ImportFileTooLargeToUploadThe import file is too large to upload.
Plug-ins and custom code
Limits and performance
0x80072322ThrottlingBurstRequestLimitExceededErrorToo many requests were sent in the time window, so a service protection limit applied.0x80072321ThrottlingTimeExceededErrorThe combined execution time of requests exceeded a service protection limit.0x80072326ThrottlingConcurrencyLimitExceededErrorToo many requests were running at the same time.0x8004A001CrmSqlGovernorDatabaseRequestDeniedThe server is busy, so the request was not completed.0x80048544DataEngineQueryThrottlingThe query was throttled, because it harms database health.0x80048573LeadingWildcardCauseTimeoutA database operation timed out, possibly because of a leading wildcard in a filter.0x80048574ComputedColumnCauseTimeoutA database operation timed out, possibly because of a computed column in a filter.0x80048575PerformanceValidationIssuesCauseTimeoutA database operation timed out, possibly because of known query performance issues.0x80044339CouldNotObtainLockOnResourceA database resource is in use by another request.0x8004026cCannotCompleteLockRequestThe request timed out while waiting for a lock.0x80040328AsyncOperationPostponedThe background job was postponed, because it failed repeatedly.
About Dynamics 365 Error Codes
Dynamics 365 Error Codes explains the errors developers and administrators run into most often. Search by hex code, decimal code, name or keyword, and each error has its own page with common causes and steps to fix it.
The codes and names come from Microsoft's Dataverse error reference, and this list covers common errors rather than all of them. The causes and fixes are practical guidance from working with the platform. This is an independent tool, and is not affiliated with or endorsed by Microsoft.
How to use Dynamics 365 Error Codes
- 01Copy the error code from the message, log or trace.
- 02Paste it into the search box, in hex or decimal.
- 03Open the result to see its causes and fixes.
Features
- Search by hex code, decimal code, name or keyword
- Common causes and fixes for each error
- A separate page for each error
- Grouped by security, data, queries, solutions, custom code and limits
- Links to Microsoft's full reference
Frequently asked questions
- What does error 0x80040220 mean?
- It is PrivilegeDenied, which means that the user is missing a privilege needed for the operation. The message names the exact privilege and table, so add that privilege to one of the user's security roles.
- What does error 0x80040217 mean?
- It is ObjectDoesNotExist, which means that the record being requested was not found. The most common reasons are a GUID from another environment, or a record that has been deleted.
- Why does my error show as a negative number?
- SDK traces often show the same code as a signed decimal. For example, -2147220969 is 0x80040217. You can search with either form here.
- What if my error code is not listed?
- This list covers common errors. Microsoft's web service error reference lists all of them, and is linked from this page.