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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to identify object id in error messages from Online

(0) ShareShare
ReportReport
Posted on by

Is there a way to identify what's throwing an error in an Online implementation?  when it displays like this:

Screen-Shot-2016_2D00_03_2D00_29-at-8.57.26-AM.png

Where is a list of OwnerIDTypes, Object Types, etc.?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Hasibur Rahman Profile Picture
    on at

    Hey Debra,

    Check to see if this helps you.

    rule30.wordpress.com/.../fixing-a-seclibaccesscheckex-failed-error-in-crm

  • Verified answer
    Nick.Doelman Profile Picture
    1,947 Most Valuable Professional on at

    Based on this message, it looks like something from a custom entity, as the ObjectTypeCode is in the 10000's, meaning its likely custom.

    Out of the box entity type codes can be referenced here:

    msdynamicscrmblog.wordpress.com/.../entity-type-codes-in-dynamics-crm-2011

    To find custom, you can use the XRMToolBox's "metadata browser" to reference the object type codes to what they are in CRM:  http://www.xrmtoolbox.com/  Here you should be able to see what the custom object types are.

    From the message you pasted, it appears that whomever is running the particular process does not have "AppendTo" access permissions for that particular entity (whatever 10038 is)

    Hope that helps.

    Cheers

    Nick

  • Rickard Norström Profile Picture
    on at

    Hi Debra,

    The OwnerIdType is easy, it's systemuser (I might be a bit damaged, but you learn some of these after a while :))

    The ObjectTypeCode is a bit trickier but if you run this query in your browser after you're logged in it should give you a response which includes what you're looking for: https://<yourorg>.api.crm4.dynamics.com/api/data/v8.0/EntityDefinitions?$filter=ObjectTypeCode eq 10038

    Regards

  • Cyclefitness Profile Picture
    on at

    Thanks, Rickard.  I did that and got a bunch of text back that didn't mean anything to me. ;-(

  • Cyclefitness Profile Picture
    on at

    Thank you, Hasibur, but I'm running an online version so can't execute SQL code.

  • Rickard Norström Profile Picture
    on at

    Hi Debra,

    Yes, you probably got an xml-type-file that's sort of nasty if you're not used to that sort of thing...

    If you take a look at it it will (hopefully) have a node that's called "DisplayName", that's what you want to look for and then set the security rights on that entity so that the append to is set to a level that will make things happen.

    I did a run on objectid 4502 and that node I'm talking about looks like this for me

    "DisplayName":{
            "LocalizedLabels":[
              {
                "Label":"Customer Relationship","LanguageCode":1033,"IsManaged":true,"MetadataId":


    So what you're looking for is the "Customer Relationship" part i'd guess.

    Hope it helps.

  • Community Member Profile Picture
    on at

    Excellent tip

    A bit more info on the URL to use

    Given the following URL

    companysite.crm11.dynamics.com

    Then URL to get object details is

    companysite.api.crm11.dynamics.com/.../EntityDefinitions$filter=ObjectTypeCode eq

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans