# API Error Property Group Does not exist

**URL:** <https://community.hubspot.com/t/api-error-property-group-does-not-exist/15543>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [July 31, 2019, 10:04am UTC](https://community.hubspot.com/t/api-error-property-group-does-not-exist/15543 "2019-07-31T10:04:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jez\_D](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jez_d/32/89259_2.png) [@Jez\_D](https://community.hubspot.com/u/Jez_D)\
**Post date:** [July 31, 2019, 10:04am UTC](https://community.hubspot.com/t/api-error-property-group-does-not-exist/15543/1 "2019-07-31T10:04:44Z")

</div>

Morning

I am makeing a post request to [https://api.hubapi.com/properties/v1/contacts/properties?hapikey=this-is-my-api-key](https://api.hubapi.com/properties/v1/contacts/properties?hapikey=this-is-my-api-key)

In the body I have:

```auto
{
 "name": "added_music_vsd2",
 "label": "Media Added Music",
 "description": "",
 "groupName": "vsd_activity",
 "type": "enumeration",
 "fieldType": "booleancheckbox",
 "deleted": false,
 "createdAt": 1561035882388,
 "readOnlyDefinition": false,
 "updatedAt": 1561533059524,
 "createdUserId": xxxxxx,
 "referencedObjectType": null,
 "searchableInGlobalSearch": false,
 "hasUniqueValue": false,
 "displayOrder": -1,
 "optionSortStrategy": null,
 "showCurrencySymbol": false,
 "calculated": false,
 "externalOptions": false,
 "currencyPropertyName": null,
 "readOnlyValue": false,
 "formField": true,
 "hidden": false,
 "mutableDefinitionNotDeletable": false,
 "favorited": false,
 "favoritedOrder": -1,
 "displayMode": "current_value",
 "textDisplayHint": null,
 "numberDisplayHint": "formatted",
 "optionsAreMutable": null,
 "isCustomizedDefault": false,
 "searchTextAnalysisMode": null,
 "updatedUserId": xxxxxx,
 "options": [
 {
 "label": "No",
 "displayOrder": -1,
 "readOnly": false,
 "hidden": false,
 "doubleData": null,
 "description": null,
 "value": "false"
 },
 {
 "label": "Yes",
 "displayOrder": -1,
 "readOnly": false,
 "hidden": false,
 "doubleData": null,
 "description": null,
 "value": "true"
 }
 ]
 }

```

The above object was obtained using a GET request to [https://api.hubapi.com/properties/v1/contacts/properties?hapikey=this-is-a-different-key](https://api.hubapi.com/properties/v1/contacts/properties?hapikey=this-is-a-different-key)

When I make the post request, I get this error:

```auto
{
 "status": "error",
 "message": "property group vsd_activity does not exist",
 "correlationId": "21ff7872-0eaf-49b5-b3bb-1a34c8992d17",
 "requestId": "d73cc332-b427-4673-a9b5-a376d0a8ca00"
}

```

If I replace underscore with a space and/or match the case, I still get the same error.

What do I need to do to create this property in the Group?

Thanks  
Jez D

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [July 31, 2019, 1:31pm UTC](https://community.hubspot.com/t/api-error-property-group-does-not-exist/15543/2 "2019-07-31T13:31:35Z")

</div>

Hi, [@Jez\_D](https://community.hubspot.com/t5/user/viewprofilepage/user-id/97218).

Are you trying to create this property in your production account ending in **4140**?

If so, [this endpoint](https://developers.hubspot.com/docs/methods/contacts/v2/get_contact_property_groups) shows that you have a contact property group with the `"displayName": "VSD Activity"`, but that it has the internal `"name": "vsd_usage"`, not `"vsd_activity"`.

Thus, you’ll want to specify `"groupName": "vsd_activity"` in your request.

---

<div class="post-metadata">

**Author:** ![Jez\_D](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jez_d/32/89259_2.png) [@Jez\_D](https://community.hubspot.com/u/Jez_D)\
**Post date:** [July 31, 2019, 1:43pm UTC](https://community.hubspot.com/t/api-error-property-group-does-not-exist/15543/3 "2019-07-31T13:43:54Z")

</div>

Thanks.

I just tried again, using

`"groupName": "vsd_usage",`

and it had the desired affect. When I clicked on _edit group name_ in the console, I was unable to see the name, so I tried to guess it. I guess I should have used

/properties/v1/contacts/groups

first

---

<div class="post-metadata">

**Author:** ![MLorus3](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mlorus3/32/9373_2.png) [@MLorus3](https://community.hubspot.com/u/MLorus3)\
**Post date:** [May 11, 2021, 12:08pm UTC](https://community.hubspot.com/t/api-error-property-group-does-not-exist/15543/4 "2021-05-11T12:08:15Z")

</div>

Upon taking a 2nd look, it seems the hover colour for the submit button became without a doubt set to blue on any other line of the stylesheet (line 1281) so that need to be all set now as you can [check](https://www.qmoog.com/).
