Boggdan Barrientos
09/26/2025, 4:57 AMcreated_at in the schema and hence can't be marked as required.kapa.ai
09/26/2025, 4:59 AMcreated_at in the schema and hence can't be marked as required" means that your stream's JSON schema does not define a property called created_at, but you are either: - Marking created_at as a required field in the schema's required list, or - Using created_at as a cursor or referencing it elsewhere in your stream configuration. To resolve this, you need to ensure that the created_at field is present in the properties section of your stream's schema. For example, your schema should look like this: json { "type": "object", "properties": { "created_at": { "type": "string", "format": "date-time" }, ... }, "required": ["created_at", ...] } If created_at is not always present in your data, you can either: - Remove it from the required list, or - Add it to the schema as an optional field (do not include it in required). This type of schema validation error is common when the schema and the actual data or configuration are out of sync. Double-check your schema definition and make sure all fields referenced as required or as cursors are actually defined in the schema's properties block. This issue is similar to other schema validation errors discussed in Airbyte community posts, where missing or mismatched fields between the schema and the data/configuration cause sync or validation failures [Normalization don't run because of Schema validation error (Salesloft -> BigQuery)](https://discuss.airbyte.io/t/1288) and [No way to ignore missing 'Modified_Time' from source schema](https://github.com/airbytehq/airbyte/issues/53218). Summary: Add created_at to your schema's properties if you want to use it, or remove it from required and other references if it doesn't exist in your data.Boggdan Barrientos
09/26/2025, 5:01 AMcreated_at is a field that exists but I use a transform to move upper.
this is my schema @kapa.ai
{
"$schema": "http://json-schema.org/schema#",
"additionalProperties": true,
"properties": {
"attributes": {
"properties": {
"activity": {
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"date": {
"properties": {
"created_at": {
"type": [
"string",
"null"
]
},
"finished_at": {
"type": [
"string",
"null"
]
},
"started_at": {
"type": [
"string",
"null"
]
},
"uploaded_at": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"geolocation": {
"properties": {
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"store": {
"properties": {
"code": {
"type": [
"string",
"null"
]
},
"id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"store_beat": {
"type": [
"number",
"null"
]
},
"user": {
"properties": {
"email": {
"type": [
"string",
"null"
]
},
"id": {
"type": [
"string",
"null"
]
},
"last_name": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"created_at": {
"type": [
"string",
"null"
]
},
"id": {
"type": [
"string",
"null"
]
},
"links": {
"properties": {
"self": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"relationships": {
"properties": {
"store_beat_results": {
"properties": {
"links": {
"properties": {
"related": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"tags": {
"properties": {
"data": {
"items": {
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"meta": {
"properties": {
"score": {
"type": [
"number",
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": [
"array",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
}kapa.ai
09/26/2025, 5:01 AMkapa.ai
09/26/2025, 5:02 AMattributes.date.created_at (nested under attributes > date) - created_at (at the top level of your object) If you are using a transformation in the Airbyte Connector Builder to "move" attributes.date.created_at to the top level as created_at, you must ensure that: 1. The transformation is correctly configured to copy or move the value from attributes.date.created_at to created_at. 2. The top-level created_at field is present in your schema (which it is, according to your example). 3. If you mark created_at as required, you must ensure that the transformation always produces this field for every record. Common Pitfall: If your transformation only copies the field for some records (e.g., if attributes.date or created_at is sometimes missing), and you mark created_at as required, you will get the error you described. What to check: - In the Connector Builder UI, under "Transformations," make sure you are using an "Add field" transformation with: - Path: created_at - Value: {{ record['attributes']['date']['created_at'] }} (or the correct Jinja expression for your data structure) - If you want to make created_at required, ensure that every record will have this field after the transformation. If not, remove it from the required list in your schema. Reference: This approach is supported by the documentation, which shows how to add fields at the top level or within nested objects using transformations in the Connector Builder UI. The field must exist in the schema at the location where you want to add it, and the transformation must ensure it is present in the data if marked as required [Transformations in Connector Builder UI](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/record-processing#transformations). Summary: - Your schema is correct for having a top-level created_at. - Ensure your transformation reliably creates this field for every record if it is required. - If not every record will have it, do not mark it as required. If you still see the error, double-check the transformation logic and the required fields in your schema.