-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
This is currently failing with
pydantic_core._pydantic_core.ValidationError: 2 validation errors for list[ListEntryWithEntity]
0.person.entity.fields.6.value
Input tag 'note' found using 'type' does not match any of the expected tags: 'company-multi', 'company', 'datetime', 'dropdown-multi', 'dropdown', 'number-multi', 'number', 'formula-number', 'interaction', 'location-multi', 'location', 'person-multi', 'person', 'ranked-dropdown', 'filterable-text-multi', 'filterable-text', 'text' [type=union_tag_invalid, input_value={'type': 'note'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.12/v/union_tag_invalid
0.person.entity.fields.7.value
Input tag 'connections' found using 'type' does not match any of the expected tags: 'company-multi', 'company', 'datetime', 'dropdown-multi', 'dropdown', 'number-multi', 'number', 'formula-number', 'interaction', 'location-multi', 'location', 'person-multi', 'person', 'ranked-dropdown', 'filterable-text-multi', 'filterable-text', 'text' [type=union_tag_invalid, input_value={'type': 'connections', 'data': None}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.12/v/union_tag_invalid
our data pipeline started failing on Oct 15, 2025 at 12:01 AM (UTC) - the last successful run was on Oct 14, 2025 at 12:01 AM (UTC).
So somewhere in between now the Person entity has a new field with type of note and connections.
However the OpenAPI spec that is current, does not specify this.
The current set for fields is:
"discriminator": {
"propertyName": "type",
"mapping": {
"company-multi": "#/components/schemas/CompaniesValueUpdate",
"company": "#/components/schemas/CompanyValueUpdate",
"datetime": "#/components/schemas/DateValue",
"dropdown": "#/components/schemas/DropdownValueUpdate",
"dropdown-multi": "#/components/schemas/DropdownsValueUpdate",
"number": "#/components/schemas/FloatValue",
"number-multi": "#/components/schemas/FloatsValue",
"location": "#/components/schemas/LocationValue",
"location-multi": "#/components/schemas/LocationsValue",
"person": "#/components/schemas/PersonValueUpdate",
"person-multi": "#/components/schemas/PersonsValueUpdate",
"ranked-dropdown": "#/components/schemas/RankedDropdownValueUpdate",
"filterable-text": "#/components/schemas/TextValue",
"filterable-text-multi": "#/components/schemas/TextsValue",
"text": "#/components/schemas/TextValue"
}
},@collinsauve sorry to mention you here, but do you have an idea why the spec is not matching the data returned?
Metadata
Metadata
Assignees
Labels
No labels