# Receive "error code: 1016" in API call response

**URL:** <https://community.hubspot.com/t/receive-error-code-1016-in-api-call-response/123978>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 15, 2025, 11:36am UTC](https://community.hubspot.com/t/receive-error-code-1016-in-api-call-response/123978 "2025-01-15T11:36:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PKostetskiy](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@PKostetskiy](https://community.hubspot.com/u/PKostetskiy)\
**Post date:** [January 15, 2025, 11:36am UTC](https://community.hubspot.com/t/receive-error-code-1016-in-api-call-response/123978/1 "2025-01-15T11:36:01Z")

</div>

Hello there!  
We have been using API endpoint  
“**[https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/\](https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/%5C)**/” for a long time. But it seems it doesn’t work anymore.  
I got “error code: 1016”  
Token is valid.  
Any idea?  
I will be grateful for any help!

---

<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:** [January 15, 2025, 2:31pm UTC](https://community.hubspot.com/t/receive-error-code-1016-in-api-call-response/123978/2 "2025-01-15T14:31:20Z")

</div>

Hey, @PKostetskiy 👋 Looking at other posts with this error, it seems to be related to an IP being blocked by Cloudflare. Do you have access to HubSpot support with this portal? This, unfortunately, isn’t something that the community can resolve. If so, I’d let them know this isn’t a custom coding question, but is related to a reproducible error received when using this API.

My quick test using the same endpoint:

Request

`POST https://api.hubapi.com/contacts/v1/contact/vid/901`

```lia-code-sample
{
 "properties": [
 {
 "property": "ultimate_pet",
 "value": ";Fish"
 }
 ]
}

```

Response

```lia-code-sample
...{
 "name": "ultimate_pet",
 "value": "Fish",
 "timestamp": 1736950244330,
 "sourceId": "959085",
 "source": "INTEGRATION",
 "sourceVid": [],
 "requestId": "5d7cd1ac-879f-4b6e-8d78-c34e424a4758"
 }
...

```

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![PKostetskiy](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@PKostetskiy](https://community.hubspot.com/u/PKostetskiy)\
**Post date:** [January 15, 2025, 6:35pm UTC](https://community.hubspot.com/t/receive-error-code-1016-in-api-call-response/123978/3 "2025-01-15T18:35:44Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) !  
Thank you for your reply!  
Now I’m going to contact portal support. Hope they help me.  
BTW this issue doesn’t show up when I make calls to this API with testing account
