Properties with a group name

Hello everybody,
I’m getting a strange behavior with hubspot api. Let’s consider this property and it’s group’s name :

{

“updatedAt”: “2022-05-27T22:41:04.004Z”,

“createdAt”: “2019-08-06T02:41:06.352Z”,

“name”: “relationship_status”,

“label”: “Relationship Status”,

“type”: “string”,

“fieldType”: “text”,

“description”: “Facebook Lead Ad Properties”,

“groupName”: “facebook_leadads”,

}
When I’m fetching the groups of properties contacts, Ican’t find this group :downcast_face_with_sweat:.
Any hints plz ?
PS: I don’t have access to the hubspot portal UI in question, I’m using the credntials in my backend application to do this fetching.
From what I know, you can’t delete a group of properties without moving all it’s props to another group !!

So you are saying when you hit crm/v3/properties/:objectType/groups you don’t see an array entry for facebook_leadads? Are you sure you are looking at the correct object type?

Hello @LeeBartelme ,
thnks for ur response.
Yes I’m using this endpoint for groups https://api.hubapi.com/crm/v3/properties/contacts/groups
, and this one for properties : https://api.hubapi.com/crm/v3/properties/contacts

I don’t know how many items are returned from the group listing endpoint. Is it possible there are more. Have you tried using the paging data to get the next “page” of groups. How many total results are there? If it’s like a round number like 10 or 20 maybe there are more and you need to page to them.

this is the results of fetching the groups ( ps : in my app I’m actually using the pagination for all the serach/fetching endpoints )

{

“results”: [

{

“name”: “partner_registration_information”,

“label”: “Partner Registration Information”,

“displayOrder”: -1,

“archived”: false

},

{

“name”: “contactinformation”,

“label”: “Contact information”,

“displayOrder”: 0,

“archived”: false

},

{

“name”: “socialmediainformation”,

“label”: “Social media information”,

“displayOrder”: 2,

“archived”: false

},

{

“name”: “emailinformation”,

“label”: “Email information”,

“displayOrder”: 3,

“archived”: false

},

{

“name”: “analyticsinformation”,

“label”: “Web analytics history”,

“displayOrder”: 4,

“archived”: false

},

{

“name”: “conversioninformation”,

“label”: “Informations sur la conversion”,

“displayOrder”: 5,

“archived”: false

},

{

“name”: “marketplaceinfo”,

“label”: “Marketplace Information”,

“displayOrder”: 100,

“archived”: false

},

{

“name”: “marketplace_template”,

“label”: “Marketplace Template”,

“displayOrder”: 100,

“archived”: false

},

{

“name”: “lead_ads”,

“label”: “Lead Ad Properties”,

“displayOrder”: 105,

“archived”: false

},

{

“name”: “recrutement”,

“label”: “Recrutement”,

“displayOrder”: 108,

“archived”: false

},

{

“name”: “sla_properties”,

“label”: “SLA Properties”,

“displayOrder”: 109,

“archived”: false

},

{

“name”: “aircall”,

“label”: “Aircall properties”,

“displayOrder”: 110,

“archived”: false

},

{

“name”: “zoom”,

“label”: “Zoom”,

“displayOrder”: 111,

“archived”: false

},

{

“name”: “websitegrader”,

“label”: “Website Grader”,

“displayOrder”: 113,

“archived”: false

},

{

“name”: “customer_sucess”,

“label”: “Customer Sucess”,

“displayOrder”: 114,

“archived”: false

}

]

}

Have you tried /crm/v3/properties/contact/groups/facebook_leadads

yes :
{

“status”: “error”,

“message”: “Couldn’t find a Group with the given name ‘facebook_leadads’.”,

“correlationId”: “14a61578-23c3-42ef-a706-34c69fa015ee”,

“groupsErrorCode”: “GROUP_NOT_FOUND”

}

yes :

{

“status”: “error”,

“message”: “Couldn’t find a Group with the given name ‘facebook_leadads’.”,

“correlationId”: “14a61578-23c3-42ef-a706-34c69fa015ee”,

“groupsErrorCode”: “GROUP_NOT_FOUND”

}

That’s pretty weird. Haven you tried contacting support? Did they tell you to post to the community? Without seeing in the portal, hard to help further. Do you mind sharing your portal id?

yes, I’ll send it to you in a private message. thnks
And non, Ididn’t try to contact the support team. Iwas hoppings that someone in the community would know more about this.

Those are default facebook field properties: Default Facebook lead ads field mappings

Ok I see, Thanks a lot for your time.