<@U04S8PLJWMT> i am trying out data activation thr...
# ask-ai
p
@kapa.ai i am trying out data activation through airbyte 1.8 with new Customer IO destination, but when i try to sync the connection Clickhouse (source) -> Customer IO (destination), I am getting:
Copy code
Failures: [ {
  "failureOrigin" : "destination",
  "failureType" : "system_error",
  "internalMessage" : "java.lang.IllegalArgumentException: Unknown destination object name null",
  "externalMessage" : "Unknown destination object name null",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 288953,
    "from_trace_message" : true,
    "connector_command" : "write"
  },
  "stacktrace" : "java.lang.IllegalArgumentException: Unknown destination object name null\n\tat io.airbyte.integrations.destination.customerio.CustomerIoLoader.selectBatchEntryAssembler(CustomerIoLoader.kt:128)\n\tat io.airbyte.integrations.destination.customerio.CustomerIoLoader.start(CustomerIoLoader.kt:102)\n\tat io.airbyte.integrations.destination.customerio.CustomerIoLoader.start(CustomerIoLoader.kt:91)\n\tat io.airbyte.cdk.load.pipeline.dlq.DlqLoaderAccumulator.start(DlqLoaderPipelineStep.kt:60)\n\tat io.airbyte.cdk.load.pipeline.dlq.DlqLoaderAccumulator.start(DlqLoaderPipelineStep.kt:56)\n\tat io.airbyte.cdk.load.task.internal.LoadPipelineStepTask$execute$$inlined$fold$1.emit(Reduce.kt:217)\n\tat kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:33)\n\tat kotlinx.coroutines.flow.FlowKt__ChannelsKt.access$emitAllImpl$FlowKt__ChannelsKt(Channels.kt:1)\n\tat kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend(Channels.kt)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)\n\tat kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)\n\tat kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)\n\tat kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)\n\tat kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)\n\tat kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)\n\tat kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)\n",
  "timestamp" : 1757935048617
}, {
  "failureOrigin" : "destination",
  "internalMessage" : "Destination process exited with non-zero exit code 1",
  "externalMessage" : "Something went wrong within the destination connector",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 288953,
    "connector_command" : "write"
  },
  "stacktrace" : "io.airbyte.workers.internal.exception.DestinationException: Destination process exited with non-zero exit code 1\n\tat io.airbyte.container.orchestrator.worker.DestinationReader.run(ReplicationTask.kt:54)\n\tat io.airbyte.container.orchestrator.worker.DestinationReader$run$1.invokeSuspend(ReplicationTask.kt)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\n",
  "timestamp" : 1757935048777
} ]
what does
Unknown destination object name null
error mean in this context?
k
The error message
Unknown destination object name null
in the context of syncing from Clickhouse (source) to Customer IO (destination) using Airbyte 1.8 indicates that the Customer IO destination connector is receiving a record or configuration where the "destination object name" is missing (i.e., it is null). The Customer IO connector expects each record to specify which object type it should map to in Customer IO—such as "Person" or "Person Events"—but in your case, this information is not being provided, resulting in the error. This typically happens if the source stream or the sync configuration does not correctly map the source data to a supported Customer IO object. According to the documentation, the Customer IO destination currently supports two object types: [Person](https://docs.customer.io/journeys/create-update-person/) and [Person Events](https://docs.customer.io/journeys/events/). Each record sent must specify which of these objects it is targeting, and the mapping must be set up in the Airbyte connection configuration. To resolve this: - Ensure that your Airbyte connection configuration between Clickhouse and Customer IO includes a proper mapping from your source tables/streams to one of the supported Customer IO objects. - Double-check that your source data includes the required fields for the target object (e.g., for Person Events, you need
person_email
and
event_name
). - If you are using custom or raw tables from Clickhouse, you may need to use Airbyte's transformation or mapping features to ensure the correct object name is set for each record. If the mapping is missing or misconfigured, the connector will not know how to process the incoming data, resulting in the "Unknown destination object name null" error you are seeing. You may need to revisit your connection setup and ensure that the destination object is explicitly defined for each stream you are syncing to Customer IO. For more details on supported objects and required fields, see the [Customer IO destination documentation](https://docs.airbyte.com/integrations/destinations/customer-io). If you continue to encounter this issue after verifying your configuration, it may be helpful to review your source data and mapping settings, or reach out to the Airbyte team for further assistance, as this connector is still in early access and may have some limitations or edge cases in its current implementation.
p
@kapa.ai i have these columns now: created_at,name,first_sale_date,plan,email,id,phone_number,updated_at how should i rename them to skip airbyte transformation/mapping features and to add new "person" in customer.io destination successfully? do i need additional columns to specify that these rows must be sent as "Person"? and also, does table name matter? thanks!
k
A message from kapa.ai
Based on the available knowledge sources, here’s what you need to know to sync your data as "Person" objects to Customer IO using Airbyte: ### 1. Required Fields and Mapping The Customer IO destination expects specific object types, such as "Person", and each object type has required fields. For "Person", you need to identify a person and assign traits (attributes) to them. The documentation does not specify that you must add a special column to indicate the object type ("Person") for each row. Instead, the mapping from your source stream to the "Person" object is typically configured in the Airbyte connection settings, not in the data itself. Required fields for "Person": - There is no explicit list of required fields for "Person" in the documentation, but typically, a unique identifier (like
email
or
id
) is needed to identify a person in Customer IO. Your columns such as
email
,
id
,
name
, etc., are appropriate as attributes for a "Person" object. **You do not need to add an extra column to specify "Person"**—this is handled by the Airbyte mapping configuration, not by the data itself. The mapping is set up in the Airbyte UI when you configure the connection, where you select which stream maps to which Customer IO object type (e.g., "Person") [Customer IO destination documentation](https://docs.airbyte.com/integrations/destinations/customer-io). ### 2. Column Naming You do not need to rename your columns to match Customer IO’s field names exactly, unless you want to. Airbyte allows you to use its mapping features to rename fields, but if you want to skip transformation/mapping, ensure your source column names match the expected attribute names in Customer IO, or that Customer IO can accept them as custom attributes. Your current columns:
Copy code
created_at, name, first_sale_date, plan, email, id, phone_number, updated_at
These are all valid as attributes for a "Person" object in Customer IO. The most important is
email
(or
id
) to uniquely identify the person. ### 3. Table Name The table name in your source (Clickhouse) does not matter for the Customer IO destination, as long as you map the correct stream to the "Person" object in the Airbyte connection configuration. The mapping is done at the stream (table) level in Airbyte, not by table name in Customer IO. ### 4. Summary - No need to rename columns if you are fine with them being sent as custom attributes. - **No need to add a column specifying "Person"**—this is set in the Airbyte connection mapping. - Table name does not matter for Customer IO, as long as you map the stream to "Person" in Airbyte. - Ensure you have a unique identifier (like
email
or
id
) in your data. If you encounter the "Unknown destination object name null" error, double-check your Airbyte connection mapping to ensure the stream is mapped to the "Person" object in Customer IO, as this is not controlled by the data itself but by the Airbyte configuration. > The knowledge sources do not provide a detailed field mapping table or require a special column for object type. All object mapping is handled in the Airbyte connection configuration, not in the data rows themselves. [Customer IO destination documentation](https://docs.airbyte.com/integrations/destinations/customer-io)
p
@kapa.ai so as i understand, there is no way to sync to customer.io destination without Airbyte mapping feature? because it is only available on Enterprise plan of airbyte, and i am self-hosting
k
A message from kapa.ai
Based on the knowledge sources, the ability to map source fields to destination object schemas—such as mapping your ClickHouse table to the "Person" object in Customer IO—is a core requirement for syncing to the Customer IO destination. The documentation and early access announcement for Data Activation (which includes Customer IO as a destination) specifically highlight the importance of mapping source fields to the required destination schema, as Customer IO requires a fixed data structure and types for its API. This mapping is typically done in the Airbyte UI or configuration during connection setup, not in the data itself. However, the mapping feature in Airbyte is only available for Self-Managed Enterprise and Airbyte Cloud with the Teams add-on. It is not available in the Self-Managed Community (open source) edition, as clearly stated in the documentation: > Use mappings to hash, encrypt, and rename fields, and filter rows. You set up mappings on each stream, ensuring your source data arrives in your destination exactly as you want it. > > AvailableCloud with Teams add-onNot availableSelf-Managed CommunityAvailableSelf-Managed Enterprise [Compare](https://airbyte.com/product/features) > > — [Mappings documentation](https://docs.airbyte.com/platform/next/using-airbyte/mappings) Therefore, if you are self-hosting Airbyte using the Community (open source) edition, you do not have access to the mapping feature. Since Customer IO requires mapping to its object schema, and this mapping cannot be done in the open source edition, you will not be able to sync to the Customer IO destination without this feature. In summary: You cannot sync to the Customer IO destination without the Airbyte mapping feature, and this feature is not available in the self-hosted Community (open source) edition. This limitation is confirmed in the official documentation and feature comparison. If you need this functionality, you would need to use Airbyte Cloud with the Teams add-on or the Self-Managed Enterprise edition. [Mappings documentation](https://docs.airbyte.com/platform/next/using-airbyte/mappings)
p
@kapa.ai what does it mean if when i visit connection (CH -> Customer IO) mapping tab and get this error:
Copy code
// HttpProblem
{
  "i18nKey": "errors.messageOnly",
  "i18nParams": {
    "message": "This connection has not been configured with a destination catalog."
  },
  "name": "HttpProblem",
  "requestId": "auZpzcAsvjNoGbAGgtRTwa",
  "request": {
    "url": "/api/v1/destinations/get_catalog_for_connection",
    "method": "POST",
    "headers": {
      "Content-Type": "application/json"
    },
    "data": {
      "connectionId": "588a14b9-3e69-425a-8548-dfe0a8c38a88"
    }
  },
  "status": 404,
  "response": {
    "status": 404,
    "type": "error:destination/catalog-not-found",
    "title": "Destination catalog not found",
    "detail": "This connection has not been configured with a destination catalog.",
    "documentationUrl": null,
    "data": {
      "connectionId": "588a14b9-3e69-425a-8548-dfe0a8c38a88"
    }
  },
  "i18nType": "detail"
}
k
A message from kapa.ai
The error message:
Copy code
"This connection has not been configured with a destination catalog."
means that Airbyte was unable to find or generate a destination catalog for your connection between ClickHouse and Customer IO. The destination catalog is a required configuration that describes the schema and structure of the data as it will be written to the destination. Without this catalog, Airbyte cannot present the mapping interface or perform the sync, because it does not know what objects or fields are available/expected in the destination. What does this mean in your context? - The connection setup is incomplete: Airbyte has not yet fetched or configured the schema (catalog) for the Customer IO destination for this connection. - As a result, the mapping tab cannot be loaded, and you cannot proceed with mapping fields or syncing data. Why does this happen? - This can occur if the initial sync or schema discovery step did not complete successfully, or if there was an error when Airbyte tried to fetch the schema from the destination. - For destinations like Customer IO, which require strict object schemas, the destination catalog is essential for mapping and data activation features. What should you do? - Try reconfiguring the connection and ensure that both the source and destination are set up correctly. - Make sure that Airbyte is able to connect to Customer IO and fetch the required schema. - If the problem persists, it may be due to a limitation or bug in the current early access implementation of the Customer IO connector, or a missing feature in your Airbyte edition. The knowledge sources do not provide a step-by-step troubleshooting guide for this specific error, but they do confirm that a destination catalog is required for mapping and that mapping features are only available in certain Airbyte editions. If you are using the Community (open source) edition, you may not have access to the mapping feature, which could also contribute to this issue [Mappings documentation](https://docs.airbyte.com/platform/next/using-airbyte/mappings). If you continue to encounter this error, you may need to reach out to Airbyte support or consult the documentation for your specific Airbyte version and edition.