Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Error contact id does not exist when editing child entity

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

Categories:
  • 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,050 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?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,768 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,985 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans