# Error creating NOTE. Some required properties were not set

**URL:** <https://community.hubspot.com/t/error-creating-note-some-required-properties-were-not-set/59716>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [June 24, 2022, 6:21am UTC](https://community.hubspot.com/t/error-creating-note-some-required-properties-were-not-set/59716 "2022-06-24T06:21:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanza](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stanza/32/5125_2.png) [@Stanza](https://community.hubspot.com/u/Stanza)\
**Post date:** [June 24, 2022, 6:21am UTC](https://community.hubspot.com/t/error-creating-note-some-required-properties-were-not-set/59716/1 "2022-06-24T06:21:53Z")

</div>

Hi,

I have the following url:

[https://api.hubapi.com/crm/v3/objects/notes?hapikey=XXXXXX](https://api.hubapi.com/crm/v3/objects/notes?hapikey=XXXXXX)

Request body:

{

“hs\_note\_body”: “Customer Country is required”,

“hs\_timestamp”: “2019-10-30T03:30:17.883Z”

}

I ge the following error:

{

```
"status": "error",

"message": "Error creating NOTE. Some required properties were not set.",

"correlationId": "e25cd92e-a63b-4ce2-96ba-cfa6d34c1121",

"context": {

    "properties": \[

        "hs\_timestamp"

    ]

},

"category": "VALIDATION\_ERROR"

```

}

This is stratight from the API docs page. Any ideas ?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 24, 2022, 5:44pm UTC](https://community.hubspot.com/t/error-creating-note-some-required-properties-were-not-set/59716/2 "2022-06-24T17:44:56Z")

</div>

Hey, @Stanza 👋 I ran a couple of quick tests using the example provided for the

`POST/crm/v3/objects/notes`

endpoint and received a 201 response for both attempts. For one test, I changed the date to reflect 2022 and for the other test I left the date and timestamp as provided in the example.

My test:

Request

```lia-code-sample
curl --request POST \
 --url 'https://api.hubapi.com/crm/v3/objects/notes?hapikey=NOPE' \
 --header 'content-type: application/json' \
 --data '{
 "properties": {
 "hs_timestamp": "2019-10-30T03:30:17.883Z",
 "hs_note_body": "Spoke with decision maker NOPE",
 "hubspot_owner_id": "50190939"
 }
}'

```

Response

```lia-code-sample
HTTP 201

{
 "id": "22979924825",
 "properties": {
 "hs_all_owner_ids": "50190939",
 "hs_body_preview": "Spoke with decision maker NOPE",
 "hs_body_preview_html": "<html>\n <head></head>\n <body>\n Spoke with decision maker NOPE\n </body>\n</html>",
 "hs_body_preview_is_truncated": "false",
 "hs_createdate": "2022-06-24T17:32:07.128Z",
 "hs_lastmodifieddate": "2022-06-24T17:32:07.128Z",
 "hs_note_body": "Spoke with decision maker NOPE",
 "hs_object_id": "22979924825",
 "hs_timestamp": "2019-10-30T03:30:17.883Z",
 "hs_user_ids_of_all_owners": "11666061",
 "hubspot_owner_assigneddate": "2022-06-24T17:32:07.128Z",
 "hubspot_owner_id": "50190939"
 },
 "createdAt": "2022-06-24T17:32:07.128Z",
 "updatedAt": "2022-06-24T17:32:07.128Z",
 "archived": false
}

```

The documentation indicates you can use either UTC or a UNIX timestamp format, you can try using a different timestamp or format to see if the issue resolves on your end. But I can confirm that using the provided example from the documentation for the [CRM API — Engagements — Notes](https://developers.hubspot.com/docs/api/crm/notes#:~:text=use%20either%20a-,Unix%20timestamp,-in%20milliseconds%20or) endpoint will return the expected response and result.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![Stanza](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stanza/32/5125_2.png) [@Stanza](https://community.hubspot.com/u/Stanza)\
**Post date:** [June 27, 2022, 6:27am UTC](https://community.hubspot.com/t/error-creating-note-some-required-properties-were-not-set/59716/3 "2022-06-27T06:27:21Z")

</div>

Hi @jaycee . Thanks for the reply. This is sorted. My JSON request syntax was wrong.

I left out the “properties” field in the JSON 😀

So it should be:

```auto
properties": {
 "hs_timestamp": "2019-10-30T03:30:17.883Z",
 "hs_note_body": "Spoke with decision maker NOPE",
 "hubspot_owner_id": "50190939"
 }

```

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 27, 2022, 3:11pm UTC](https://community.hubspot.com/t/error-creating-note-some-required-properties-were-not-set/59716/4 "2022-06-27T15:11:40Z")

</div>

Thanks for letting us know @Stanza 🙌
