Internal Error [Bug] on Adding Contact to Contact List

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

{‘properties’ => {‘email’ => “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

{‘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
- 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, which returned “scopes”:[“oauth”,“crm.lists.read”,“crm.objects.contacts.write”,“crm.lists.write”]

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.

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

{
 "updated": [],
 "discarded": [
 101
 ],
 "invalidVids": [],
 "invalidEmails": []
}

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

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