Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Error contact id does not exist when editing child entity

(0) ShareShare
ReportReport
Posted on by 1,575

Hello,

We have a custom entity with a lookup field to contact. The custom entity contains a notes field.

For only one record (so far), we can not edit the notes field because onSave we get an error 

Exception Message: Contact With Id = (the guid) Does Not Exist

ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService
ApiStepKey: c3cbf56a-0b91-e911-a81b-000d3aba5e95
ApiDepthKey: 1
ApiActivityIdKey: 3cd55625-6a1c-4c0c-a68a-e87a1a457eee
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMessageName: ObjectDoesNotExist
ApiExceptionHttpStatusCode: 404

HelpLink: go.microsoft.com/.../

Activity Id: ac0af527-1f62-4e66-a3bb-13844a3788ab

The contact with that ID does not, indeed exist. (confirmed by XRM Toolbox)
If we select another contact via the lookup from the custom entity, we can then edit the notes and save - but ONLY ONCE! - When we try again the same error is thrown - it keeps reverting back to the guid of the missing contact record.

Additional error info: 

UciError: contact With Id = xxxxxxxxxxxxxxxxx Does Not Exist at i (xxxxxxxxx.com/.../app.js at new f (xxxxxxxxxxxxx.dynamics.com/.../app.js at Function.fromLegacyErrorStatus (xxxxxxxxxxxxxxxx.com/.../app.js at y (xxxxxxxxxxxxxx.dynamics.com/.../app.js at https://xxxxxxxxxxxxxxxxxxx.com/uclient/scripts/app.js?v=1.4.3750-2112.3:3726:25486


Thanks in advance for any assistance.

- Seamus

  • Seamus Profile Picture
    Seamus 1,575 on at
    RE: Error contact id does not exist when editing child entity

    Thanks for your reaction Nya, but I am getting the same error/situation with System Administrator privileges so I am assuming it is not a security issue? Also, it is only happening in the case of one specific contact - others are behaving normally.

  • Nya Profile Picture
    Nya 29,058 on at
    RE: Error contact id does not exist when editing child entity

    Hi,

    Have you checked if the use logged in has the Append/ Append to privilege of Contact entity or the custom entity?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans