The argument 'AvailableNameFormatId' was not assigned a valid value.

I am receiving this message:
The argument 'AvailableNameFormatId' was not assigned a valid value.

when posting to the following endpoint:


It is the same from the client I am using, or the API query tester in the documentation.


The body I am sending is the following:
{
"configuration_id":"54",
"constituent_id":"[Redacted]",
"custom_format":false,
"formatted_name":null,
"primary_type":"Addressee"
}

I am confused because that field is nowhere in the documentation for name format, nor I can seem to find it anywhere else

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 Facilitator 3 Raiser's Edge NXT Fall 2025 Product Update Briefing Badge

    @Fabian Canizales
    Open a support ticket and @Erik Leaver can help drive it.

    I tried the endpoint too and get a different error

    HTTP/1.1 400 Bad Request

    cache-control: no-cache
    content-length: 286
    content-type: application/json; charset=utf-8
    expires: -1
    pragma: no-cache

    [{
    "message": "The primary addressee and primary salutation cannot be set to true on more than one record.",
    "error_name": "ContactBusinessLogicArgumentNotValid",
    "error_code": 50010,
    "raw_message": "The primary addressee and primary salutation cannot be set to true on more than one record."
    }]

    If i underestand this correctly, i cannot “create” using post on something that already exists (the record i was testing already have addressee)

    so i try the PATCH endpoint but it totally doesn't look like it should be used for updating primary addressee.