Getting error when creating a batch of Notes with custom properties

Hi,

When creating a batch of Notes with custom properties, we get an error saying that those properties do not exist.

We are trying to write an implementation similar to the ones presented in Accounts Dashboard | HubSpot

We notice that even the sample code (after renaming the sample properties to lowercase) throws an error.

Would you have any thoughts on how to resolve this?

Thanks!

Hi @AllMan :waving_hand:

Could you share some of the code you’re working on? Might give us a clearer idea of the issue.
Cheers

Edd

Hi Edd,
Thanks for the reply.
Please see below the body we post to
https://api.hubapi.com/crm/v3/objects/notes/batch/create
{
“inputs”: [
{
“properties”: {
//“product_category”: “CopyOfEmail”,
“hs_note_body”: “This is a sample content.”
//“complete”: true,
//“support_priority”: “Low”,
//“cms_user_master_id”: 5
},
“associations”: [
{
“types”: [
{
“associationCategory”: “HUBSPOT_DEFINED”,
“associationTypeId”: 202
}
],
“to”: {
“id”: 4275401
}
}
]
}
]
}
Note that the moment we uncomment those property nodes and post the
request, the api will throw some errors.

Hey, @AllMan :waving_hand: What is the response when you request your custom properties using the Properties API endpoint — https://api.hubapi.com/crm/v3/properties/{objectType}/{propertyName}

Thanks! — Jaycee