I am working on a low-code source connector and I ...
# replication-troubleshooting
m
I am working on a low-code source connector and I just ran a sync with some unwanted behavior. For testing I set up E2E as destination and also tried syncing to BigQuery. When running with E2E destination it looks like I get the following message for each record or maybe per page:
Copy code
INFO i.a.v.j.JsonSchemaValidator(test):130 - JSON schema validation failed. 
errors: $: null found, string expected
When I run the sync with BigQuery as destination I get the same messages but the sync succeeds but with the result that about half of the rows are empty.
Currently I have only one stream. It has a stream slicer defined on a date-time field that accepts null values. It also has one primary key.
First I thought I hade some errors in my schema file so I ran discovery and updated the schema file. In the manifest.yaml I point to all schema files like so:
Copy code
definitions:
  schema_loader:
    type: JsonFileSchemaLoader
    file_path: "./source-provet-cloud/schemas/{{ options['name'] }}.json"
I just cleared out a lot of fields from the schema file and only keeping the primary key, two not null fields and the stream_cursor_field which is a date-time that can have nulls. Still the same info message when running E2E sync.
Copy code
INFO i.a.v.j.JsonSchemaValidator(test):130 - JSON schema validation failed. 
errors: $: null found, string expected
Removing the stream_cursor_field from the schema file did not help either. Seems like its not the schema that is causing this.
n
Hi, Martin! Our team does not have the capacity or resources to support custom development questions right now, but I'd be happy to review the PR when you submit it! I hope someone from the community chimes in, also feel free to reach out to other community members who have contributed PRs!