Nov 24, 2022 1:15 PM - bearbeitet Nov 24, 2022 1:15 PM
Hi, not so long time ago I was able to create associations between to entries of the same custom object type. I was testing a functionality using it on my Sandbox account, and now that its time to implement this change I cannot do it on my Production account. Why I'm not able to create the association between two custom objects of the same type anymore? Is there a workaround?
I still have the associations types working on the Sandbox and I'm able to create new associations with it.
I'm trying to create it with :/crm/v3/schemas/{objectTypeId}/associations
example body:
{
"fromObjectTypeId": "2-3444025",
"toObjectTypeId": "2-3444025",
"name": "project_to_project"
}
Response:
{
"status": "error",
"message": "Cannot create association definition with itself: 2-6286287",
"correlationId": "0566b846-bc06-4a67-9955-50e2abf16480",
"context": {
"objectTypeId": [
"2-6286287"
]
},
"category": "VALIDATION_ERROR",
"subCategory": "ObjectSchemaError.CANNOT_ASSOCIATE_OBJECT_TYPE_WITH_ITSELF"
}
Nov 29, 2022 10:23 AM
Hi @Developers,
Thank you for reaching out to the Community!
I wanted to tag in a couple of subject matter experts to see if they have any advice:
hi @stefen & @louischausse, do you have any tips for @Developers? Thank you!
Cheers
Mia, Community team
![]() | Wusstest du, dass es auch eine DACH-Community gibt? Nimm an regionalen Unterhaltungen teil, indem du deine Spracheinstellungen änderst Did you know that the Community is available in other languages? Join regional conversations by changing your language settings |