Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Error "The field Primary Contact No. of table Customer contains a value ({00000000-0000-0000-)"

(2) ShareShare
ReportReport
Posted on by 8
I’m having issues with Dataverse synchronization when syncing Account/customer data between D365 Sales and BC. My synchronization is configured as "FromIntegrationTable" and I receive the following error: "The data could not be updated because of the following error: The field Primary Contact No. of table Customer contains a value ({00000000-0000-0000-) that cannot be found in the related table (Contact)."

In this case, the Dataverse column "PrimaryContactId" is empty, which is expected. Consequently, I anticipate that the Contact in BC should be removed. However, instead, I get the mentioned error.
Could anyone provide a solution to address this issue?
 
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,699 Super User 2024 Season 1 on at
    Error "The field Primary Contact No. of table Customer contains a value ({00000000-0000-0000-)"
    You can check the payload in respective request. May be it is adding this value if given lookup is null.
  • JE-04121251-0 Profile Picture
    JE-04121251-0 8 on at
    Error "The field Primary Contact No. of table Customer contains a value ({00000000-0000-0000-)"
    Thank you @Amit Katariya007 for your response.

    Although "PrimaryContactId" is NULL in my Dataverse table, I have attempted to update the column by deleting any data present, but still encounter the same error during the integration process. Any assistance in resolving this issue would be greatly appreciated.
     
  • Amit Katariya007 Profile Picture
    Amit Katariya007 8,699 Super User 2024 Season 1 on at
    Error "The field Primary Contact No. of table Customer contains a value ({00000000-0000-0000-)"
    It should be null not guid with zeros. 
     
    Because system will still consider it as guid and try to find an contact with respective guid.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans