---
schema_version: "1"
id: 339bcaed3cd4c74ee8423b639a7cf9d45f65c8143b1712d64a402305c5668b80
title: 409000-409999 Audience Builder
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/409000_409999_audience_builder.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/409000_409999_audience_builder.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c93b3bdefd0c014cb38371be75353f822b6f5da0007beaf61b86143b2d39bb77
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# 409000-409999 Audience Builder

<!--complex table-->

| Error  | Message                                                                                                                                                                                                                                                                         |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 409001 | AddEntityHistory: [AddEntityHistory] could not be inserted due to unknown error in repository. Inner exception: [InnerException]                                                                                                                                                |
| 409002 | GetFilterSQL: [GetFilterSQL] could not get filter SQL. Inner exception: [InnerException]                                                                                                                                                                                        |
| 409003 | CreateSingle: No objects found, APIObject was null or not of type AudienceDefinition. Type was [type]                                                                                                                                                                           |
| 409004 | CreateSingle: Name missing on {0}. This is a required field                                                                                                                                                                                                                     |
| 409005 | CreateSingle: CustomerKey missing on {0}. This is a required field                                                                                                                                                                                                              |
| 409006 | Audience Builder Create Single Null Audience Code                                                                                                                                                                                                                               |
| 409007 | CreateSingle: {0} already exists for this Name [name]                                                                                                                                                                                                                           |
| 409008 | CreateSingle: {0} already exists for this CustomerKey [CustomerKey]                                                                                                                                                                                                             |
| 409009 | Audience Builder Create Single Audience Code Already Defined                                                                                                                                                                                                                    |
| 409010 | CreateSingle: [object] could not be created due to unknown error in repository. Inner exception: [exception]                                                                                                                                                                    |
| 409011 | UpdateSingle: No objects found, APIObject was null or not of type AudienceDefinition. Type was [type]                                                                                                                                                                           |
| 409012 | Audience Builder Update Single No Audience ID                                                                                                                                                                                                                                   |
| 409013 | Audience Builder Update Single Audience Definition Not Found                                                                                                                                                                                                                    |
| 409014 | Audience Builder Update Single Segment Code Exists                                                                                                                                                                                                                              |
| 409015 | Audience Builder Single Audience Code Exists                                                                                                                                                                                                                                    |
| 409016 | UpdateSingle: [object] could not be updated due to unknown error in repository. Inner exception: [exception]                                                                                                                                                                    |
| 409017 | UpdateSingle: [object] could not be updated due to unknown error in repository. Inner exception: [exception]                                                                                                                                                                    |
| 409018 | UpdateSingle: [object] could not be found for update, ID [ID]                                                                                                                                                                                                                   |
| 409019 | DeleteSingle: No objects found, APIObject was null or not of type AudienceDefinition. Type was [type]                                                                                                                                                                           |
| 409020 | DeleteSingle: [object] could not be found because no ID was specified. Make sure you are setting IDSpecified=true                                                                                                                                                               |
| 409021 | Audience Builder Delete Single Null Audience Definition                                                                                                                                                                                                                         |
| 409022 | Audience Builder Delete Single Child Audience Segments                                                                                                                                                                                                                          |
| 409023 | Audience Builder Delete Single Filter Definition Exception                                                                                                                                                                                                                      |
| 409024 | DeleteSingle: [object] could not be deleted due to unknown error in repository. Inner exception: [exception]                                                                                                                                                                    |
| 409025 | Audience Builder Clone Audience ID Not Specified                                                                                                                                                                                                                                |
| 409026 | CreateSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409027 | CreateSingle: AudienceDefinitionID missing on [object]. Make sure you are setting AudienceDefinitionIDSpecified=true                                                                                                                                                            |
| 409028 | CreateSingle: SegmentDefinitionID missing on [object]. Make sure you are setting SegmentDefinitionIDSpecified=true                                                                                                                                                              |
| 409029 | CreateSingle: SegmentCode is missing on [object]. Make sure you set a unique SegmentCode                                                                                                                                                                                        |
| 409030 | CreateSingle: FK AudienceDefinitionID does not exsit in table [table]                                                                                                                                                                                                           |
| 409031 | CreateSingle: SegmentCode [code] already exists on another [segment]. SegmentCode must be unique                                                                                                                                                                                |
| 409032 | <ul><li>CreateSingle: FK SegmentDefinitionID already exsits in table [table]. Segment is already part of this Audience</li><li>CreateSingle: [segment] already exists for this AudienceDefinitionID [AudienceDefinitionID], SegmentDefinitionID [SegmentDefinitionID]</li></ul> |
| 409033 | Audience Builder Create Single Segment Code Exists                                                                                                                                                                                                                              |
| 409034 | CreateSingle: [object] could not be created due to unknown error in repository. Inner exception: [exception]                                                                                                                                                                    |
| 409035 | UpdateSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409036 | UpdateSingle: [segment] could not be found because no ID was specified. Make sure you are setting IDSpecified=true                                                                                                                                                              |
| 409037 | UpdateSingle: [definition] could not be found for update, ID [ID]                                                                                                                                                                                                               |
| 409038 | UpdateSingle: Trying to update FK SegmentDefinitionID and it does not exsit in table [table]                                                                                                                                                                                    |
| 409039 | UpdateSingle: Trying to update FK SegmentDefinitionID and already exsits in table [table]. Segment is already part of this Audience                                                                                                                                             |
| 409040 | UpdateSingle: SegmentCode [SegmentCode] already exists on another [segment]. SegmentCode must be unique                                                                                                                                                                         |
| 409041 | DeleteSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409042 | DeleteSingle: [object] could not be found because no ID was specified. Make sure you are setting IDSpecified=true                                                                                                                                                               |
| 409043 | DeleteSingle: [object] with ID [ID] could not be found                                                                                                                                                                                                                          |
| 409044 | DeleteSingle: [object] could not be deleted due to unknown error in repository. Inner exception: [exception]                                                                                                                                                                    |
| 409045 | CreateSingle: No [type]objects found, APIObject was null or not of type [type]. Type was [type].                                                                                                                                                                                |
| 409046 | CreateSingle: Name missing on [object]                                                                                                                                                                                                                                          |
| 409047 | CreateSingle: CustomerKey missing on [object]                                                                                                                                                                                                                                   |
| 409048 | CreateSingle: [object] already exists for this Name [name]                                                                                                                                                                                                                      |
| 409049 | CreateSingle: [object]already exists for this CustomerKey [name]                                                                                                                                                                                                                |
| 409050 | UpdateSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409051 | UpdateSingle: [object] could not be found because no ID was specified. Make sure you are setting IDSpecified=true                                                                                                                                                               |
| 409052 | UpdateSingle: [object] with ID [ID] could not be found                                                                                                                                                                                                                          |
| 409053 | UpdateSingle: Name [name] already exists on another [object]. Name must be unique                                                                                                                                                                                               |
| 409054 | DeleteSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409055 | DeleteSingle: [object] could not be found because no ID was specified. Make sure you are setting IDSpecified=true                                                                                                                                                               |
| 409056 | DeleteSingle: [object] with ID [ID] could not be found                                                                                                                                                                                                                          |
| 409057 | Deleting [object] had some issues deleting child AudienceSegmentDefinition rows. [object] with ID [ID] could be in an invalid state. Error message: [message]                                                                                                                   |
| 409058 | Deleting [object] had some issues deleteing the associated FilterDefinition ID [ID]. Error message: [message]                                                                                                                                                                   |
| 409059 | CreateSingle: FK SegmentDefinitionID does not exsit in table [table]                                                                                                                                                                                                            |
| 409060 | CreateSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409061 | UpdateSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409062 | UpdateSingle: [object] could not be found because no ID was specified. Make sure you are setting IDSpecified=true                                                                                                                                                               |
| 409063 | UpdateSingle: [object] with ID [ID] could not be found                                                                                                                                                                                                                          |
| 409064 | DeleteSingle: No [type] objects found, APIObject was null or not of type [type]. Type was [type]                                                                                                                                                                                |
| 409065 | DeleteSingle: [object] with ID [ID] could not be found                                                                                                                                                                                                                          |
