Legacy Dev Forum Posts

 View Only

Sign Up

Add contact to contact list fails in flow

  • 1.  Add contact to contact list fails in flow

    Posted 06-05-2025 18:43

    simon.king | 2022-11-18 23:32:01 UTC | #1

    Hi,

    I'm trying to add a contact into a contact list within the flow using the /api/v2/outbound/contactlists/$Input.contactListId/contacts request.

    Using the test facility within the data action works with the test data being -

    ContactListID - d61ea3a0-c299-4b73-908d-91cf1b8d714d Data - "Name": "Penny King", "MobilePhone": "xxxxxxxxxxxx"

    My Input expression for the data is - \"Name\": \"Penny King\", \"MobilePhone\": \"XXXXXXXXXXXX" (with escape characters, validates ok)

    This is failing. I will be looking to use variables but I'm using static data just to simplify as part of my troubleshooting.

    Any help will be appreciated.

    Thanks


    RobertWC | 2022-11-18 23:32:48 UTC | #2

    Simon,

    You have to make sure your contract has ALL the custom fields in your contact list. Best to export that CSV and compare the fields. You don't need the system fields and the contact ID, but all others HAVE to be in the contact.


    simon.king | 2022-11-21 14:11:56 UTC | #3

    Hey Robert,

    Thanks for responding. After giving it a break overnight it worked when I tested the following morning :slight_smile:

    Thanks again Simon


    system | 2022-12-22 14:12:07 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 17288