# Internal Error \[Bug\] on Adding Contact to Contact List

**URL:** <https://community.hubspot.com/t/internal-error-bug-on-adding-contact-to-contact-list/87775>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, contacts\
**Created:** [August 17, 2023, 11:04pm UTC](https://community.hubspot.com/t/internal-error-bug-on-adding-contact-to-contact-list/87775 "2023-08-17T23:04:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lnkbio](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lnkbio/32/199648_2.png) [@lnkbio](https://community.hubspot.com/u/lnkbio)\
**Post date:** [August 17, 2023, 11:04pm UTC](https://community.hubspot.com/t/internal-error-bug-on-adding-contact-to-contact-list/87775/1 "2023-08-17T23:04:58Z")

</div>

Hi there,  
For the past few days some users have been complaining of being unable to sync their contacts from our platform to HubSpot.  
Upon checking, we can see we’re receiving 500 headers and “Internal Error” on calls that used to work correctly.  
Example error:

`{"status":"error","message":"internal error","correlationId":"8406baec-d46c-4fa6-ae9a-37c6ae0ea0d4"}`

Our calls are :  
**1. Create the Contact**

POST

[https://api.hubapi.com/crm/v3/objects/contacts](https://api.hubapi.com/crm/v3/objects/contacts)

{‘properties’ =\> {‘email’ =\> “[test@test.com](mailto:test@test.com)”}}  
Retrieve the returned ID, e.g. 1234 =\>

**This is successful**

**2. Add the Contact to a Contact List**

POST

[https://api.hubapi.com/contacts/v1/lists/LIST\_ID/add](https://api.hubapi.com/contacts/v1/lists/LIST%5C_ID/add)

{‘vids’ =\> [1234]}

**This returns 500 and the error above.**

Please note:

- The List ID is correct, double checked with  
GET

[https://api.hubapi.com/contacts/v1/lists/LIST\_ID](https://api.hubapi.com/contacts/v1/lists/LIST_ID%60)  
- The VID (User ID) is correct, checked with the Contact API  
- The Access Token is correct and has permissions for Contact and Contact List, I can share it in private for debugging. It was verified via [https://api.hubapi.com/oauth/v1/access-tokens/TOKEN\_ID](https://api.hubapi.com/oauth/v1/access-tokens/TOKEN%5C_ID), which returned “scopes”:[“oauth”,“crm.lists.read”,“crm.objects.contacts.write”,“crm.lists.write”]

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 18, 2023, 10:42am UTC](https://community.hubspot.com/t/internal-error-bug-on-adding-contact-to-contact-list/87775/2 "2023-08-18T10:42:10Z")

</div>

Hey @lnkbio,

Is the list an active (dynamic) or a static list? If it’s an active (dynamic) list I would expect to be getting back the response that you are seeing. The API doesn’t support adding contacts to static lists.

![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/0/900cf1edd8cc389fb2aec10c5eb0bb776624e5db.png)

For instance when I attempt to add to a static list I get the below 200 response:

```lia-code-sample
{
 "updated": [],
 "discarded": [
 101
 ],
 "invalidVids": [],
 "invalidEmails": []
}

```

When I attempt to add to a active (dynamic) list I get the below 500 response:

```lia-code-sample
{
 "status": "error",
 "message": "internal error",
 "correlationId": "7c4a5e54-e5be-4397-8dda-16c0bf498822"
}

```
