JZhao
March 10, 2021, 6:43am
1
I used to create customer property via API but it suddenly stop working. The API I made is:
curl --location --request POST ‘http://api.hubapi.com/crm/v3/properties/companies?hapikey=API_KEY ’ \
--header ‘Content-Type: application/json’ \
--data-raw '{
“name”: “next_daily_deposit_amount”,
“label”: “Next daily deposit amount”,
“type”: “number”,
“fieldType”: “number”,
“groupName”: “balances_and_chargebacks”,
“description”: “”
}’
the response status is 200 but the content is super long which includes all my properties. And the property “next_daily_deposit_amount” is not created. Is there any API issue in the backend?
{
“results”: [
{
… // 10000 lines of json
}
Hey @JZhao
Are you still experiencing issues with this?
I was able to successfully run your request to my portal. I did have to create the group first, though.
JZhao
March 10, 2021, 10:41pm
3
@dennisedson , I just tried but still have such issue. I have tried to use a different name and label. And the group already exists.
I even see this issue if I change a group name which doesn’t even exist.
JZhao
March 10, 2021, 10:42pm
4
is this issue only with my account?
@tominal , do you see anything suspect here?
I can’t say I do. That curl looks fine. Could you post a screenshot of the output when you run that curl command by itself?
If it’s returning all of your properties, then it sounds like a random GET request somewhere in your integration.
Hope that helps.