web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Duplicate Record Error

(0) ShareShare
ReportReport
Posted on by 90

Good Day,

Thank you for your interest. I am receiving a repeated "Duplicate Record" error on HCM Common entity called Bank Account Disbursement. Below are some Error Details that provide some information on what's causing this. The Entity is very important and critical to the organization structure. Thank You again and Best Regards. Please see Attachment

Screenshot-2022_2D00_01_2D00_27-150530.png

Error: " 

"A record with these values already exists. A duplicate record cannot be created. Select one or more unique values and try again."

Error code: 0x80040237Session Id: d3acf07a-0915-4700-886c-d49a849df1e8Activity Id: 593cf1ce-c116-4b0b-a03e-d4d2f012b08bTime: Thu Jan 27 2022 14:57:56 GMT-0500 (Eastern Standard Time)

ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService

SqlExceptionMessage: Cannot insert duplicate key row in object 'dbo.cdm_bankaccountdisbursementBase' with unique index 'ndx_BankAccountDisbursement_AK1'. The duplicate key value is <redacted>.

I have the same question (0)
  • Suggested answer
    Sunny21 Profile Picture
    90 on at
    RE: Duplicate Record Error

    Thank You Bipin.

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Duplicate Record Error

    Hi,

    This is coming because you have a key defined against your entity. Navigate to make.powerapps.com ->Data->Tables->Select your Table->Keys-> Deactivate the keys

    CR76.PNG

    If you don't want to deactivate the key then make sure you are not entering the same data for new records.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    Community Member Profile Picture
    on at

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 345

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 87 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans