Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Error 4200 object code

Posted on by 428

I am getting below error on object code 4200, which is an activity pointer and if i read it right user is missing read access on one of the activity?, but is there a way i can find out which record exactly i am getting the issue, please see below for image

pastedimage1663253399314v1.png

Thanks

PS

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error 4200 object code

    Hi PS10,

    OK!

    Looking forward to your feedback!

  • PS10 Profile Picture
    PS10 428 on at
    RE: Error 4200 object code

    Hi Leah Ju,

    Thanks for your reply, for now Andrew's answer worked for me but i will soon try out your option and let you know.

    Thanks,

    PS

  • PS10 Profile Picture
    PS10 428 on at
    RE: Error 4200 object code

    Thans Andrew, that worked for me like magic.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error 4200 object code

    Hi PS10,

    ActivityPointer(Activity) entity type code is 4200.

    Maybe you can try to use Dataverse REST Builder tool, which is is an application to create and execute requests against the Dataverse Web API endpoint.

    Download solution: https://github.com/GuidoPreite/DRB/releases

    You can use it build code easily and execute it.

    (1)After install the solution, open it and New Collection:

    pastedimage1663307705268v6.png

    (2)New Request, configure it as following screenshot.

    pastedimage1663307396205v2.png

    (3)Navigate to second tab and click 'Move Code to editor':

    pastedimage1663307413089v3.png

    (4)Click 'Execute Code'

    pastedimage1663307433923v4.png

    (5)Then you can view all details about the record:

    pastedimage1663307521445v5.png

    You can refer the following link for more details:

    https://www.crmanswers.net/2021/10/new-tool-dataverse-rest-builder.html 

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Error 4200 object code

    No worries. There is no need to be a dev to use it. Check this post - markcarrington.dev/.../

  • PS10 Profile Picture
    PS10 428 on at
    RE: Error 4200 object code

    I should have said I am not a developer, not sure how to achieve Step 2 as per your suggestion rest i can do it all. Have got Xrm, can write the sql no clue aboout plugin.

    Any other way? or may be how to install SQL 4 CDS plugin, can give it a go.

    Thanks

    PS

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Error 4200 object code

    You can try the following:

    1. Download and install XrmToolbox.

    2. Install SQL 4 CDS plugin.

    3. Connect to your instance.

    4. Run a query to check the particular activity type using the following select statement:

    Select * From ActivityPointer Where ActivityId = '<Put the ObjectId Here>'

    And look for a corresponding activity type if it is there.

  • PS10 Profile Picture
    PS10 428 on at
    RE: Error 4200 object code

    Hi Andrew,

    That is my question how do i check that ?

    Thanks

    PS

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Error 4200 object code

    Hello,

    Did you check if there is a record with Id to which points ObjectId?

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans