# Internal Error 500 when adding contact to list

**URL:** <https://community.hubspot.com/t/internal-error-500-when-adding-contact-to-list/78155>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [March 28, 2023, 8:43am UTC](https://community.hubspot.com/t/internal-error-500-when-adding-contact-to-list/78155 "2023-03-28T08:43:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielHuelin](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@DanielHuelin](https://community.hubspot.com/u/DanielHuelin)\
**Post date:** [March 28, 2023, 8:43am UTC](https://community.hubspot.com/t/internal-error-500-when-adding-contact-to-list/78155/1 "2023-03-28T08:43:50Z")

</div>

Hello,

I am using the Hubspot API and I managed to create a contact but when I try to add it to a list it returns this:

{

“status”: “error”,

“message”: “internal error”,

“correlationId”: “f331b738-b77b-4eae-a2ed-5cea1ea37c31”

}

I am using this request body:

{

“vids”: [

1608451

],

“emails”: []

}

Any idea what it could be?

(if anyone want to know, I am using postman to test the API and the hubspot list is active.)

---

<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:** [March 28, 2023, 5:41pm UTC](https://community.hubspot.com/t/internal-error-500-when-adding-contact-to-list/78155/2 "2023-03-28T17:41:38Z")

</div>

Hey, @DanielHuelin 👋 Did you get this resolved? If not, can you make a request to this endpoint using your List ID, please? [https://legacydocs.hubspot.com/docs/methods/lists/get\_list](https://legacydocs.hubspot.com/docs/methods/lists/get_list)

And share the full response body here?

Thanks! — Jaycee

---

<div class="post-metadata">

**Author:** ![DanielHuelin](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@DanielHuelin](https://community.hubspot.com/u/DanielHuelin)\
**Post date:** [March 28, 2023, 9:58pm UTC](https://community.hubspot.com/t/internal-error-500-when-adding-contact-to-list/78155/3 "2023-03-28T21:58:00Z")

</div>

Thanks for the response, unfortunately i did not get it resolved, here you have a GET request to “[https://api.hubspot.com/contacts/v1/lists/\*\*](https://api.hubspot.com/contacts/v1/lists/**)”:  
{

“portalId”: 6819142,

“listId”: 74,

“internalListId”: 0,

“createdAt”: 1642522889158,

“updatedAt”: 1667907918621,

“name”: “Mentores Web (IN)”,

“listType”: “DYNAMIC”,

“authorId”: 27717176,

“filters”: [],

“metaData”: {

“size”: 11,

“lastSizeChangeAt”: 1680000121672,

“processing”: “DONE”,

“lastProcessingStateChangeAt”: 1667907898092,

“error”: “”,

“listReferencesCount”: null,

“parentFolderId”: null

},

“archived”: false,

“teamIds”: [],

“ilsFilterBranch”: “{\“filterBranchOperator\”:\“OR\”,\“filters\”:[],\“filterBranches\”:[{\“filterBranchOperator\”:\“AND\”,\“filters\”:[{\“pruningRefineBy\”:null,\“coalescingRefineBy\”:null,\“formId\”:\“939a9e9e-2143-4de2-baeb-3015606e81ab\”,\“filterId\”:735238203,\“frameworkFilterId\”:null,\“filterType\”:\“FORM\_SUBMISSION\”}],\“filterBranches\”:[],\“filterBranchType\”:\“AND\”}],\“filterBranchType\”:\“OR\”}”,

“readOnly”: false,

“limitExempt”: false,

“deleted”: false,

“internal”: false,

“dynamic”: true

}

---

<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:** [March 29, 2023, 3:56pm UTC](https://community.hubspot.com/t/internal-error-500-when-adding-contact-to-list/78155/4 "2023-03-29T15:56:34Z")

</div>

Hey, @DanielHuelin 👋 Thanks for doing that.

I see the issue. You are trying to use an Active List (note the “dynamic”: true that is part of the response body) It is not possible to manually add contacts to an active (dynamic) list.

You’ll need to create a static list if you want to manually add contacts to lists — in-app or via the List endpoints.

[Source](https://legacydocs.hubspot.com/docs/methods/lists/add_contact_to_list) — “Please note that you cannot manually add contacts to dynamic lists. To determine whether a list is dynamic or static, when you [get a list](https://legacydocs.hubspot.com/docs/methods/lists/get_list?hsLang=en), you will see a flag called `dynamic` that equates to true or false.”

Have fun building! — Jaycee

---

<div class="post-metadata">

**Author:** ![DanielHuelin](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@DanielHuelin](https://community.hubspot.com/u/DanielHuelin)\
**Post date:** [March 30, 2023, 7:57am UTC](https://community.hubspot.com/t/internal-error-500-when-adding-contact-to-list/78155/5 "2023-03-30T07:57:49Z")

</div>

Thanks for the response, all working fine now.
