https://linen.dev logo
#connector-development
Title
# connector-development
s

Siddharth Putuvely

01/29/2022, 12:33 PM
Hello; i get following error if i test my source connector in airbyte. if i debug it locally it works like a charm.... Any idea? Is this an error on source-connector side, in airbyte or in the destination-connector? What does that mean? WHere is an Object expected? Thanks alot
Copy code
2022-01-29 11:54:15 INFO i.a.v.j.JsonSchemaValidator(test):56 - JSON schema validation failed. 
errors: $.record.data: string found, object expected
2022-01-29 11:54:15 ERROR i.a.w.p.a.DefaultAirbyteStreamFactory(lambda$create$1):70 - Validation failed: {"type":"RECORD","record":{"stream":"email","data":"{\n  \"id\": \"8994962\"\n}","emitted_at":1643457255165}}
f

flow

01/30/2022, 11:14 AM
This is my schema:
Copy code
{
  "properties": {
    "id": {
      "type": [
        "null",
        "string"
      ]
    }
  },
  "type": "object",
  "$schema": "<http://json-schema.org/draft-07/schema#>"
}
and i validated the parsedresponse it is valid the response record is:
Copy code
{
  "id": "15952083"
}
i really wounder what object instead of string airbyte expects?
3 Views