hi all. I am new to airbyte. just downloaded it to...
# replication-troubleshooting
s
hi all. I am new to airbyte. just downloaded it today and created a simple config based custom connector and deployed it, created a source and tested ok. I was able to run the read command locally and see data. However, when I create a connection from my custom source to s3 target I get this error.
Copy code
2023-02-01 23:00:06 ERROR i.a.s.e.UncaughtExceptionHandler(handle):28 - Uncaught exception
java.lang.IllegalArgumentException: json schema nodes should always be object nodes. path: [FieldNameOrList{fieldName='type', isList=false}] actual: "string"
	at io.airbyte.commons.json.JsonSchemas.traverseJsonSchemaInternal(JsonSchemas.java:177) ~[io.airbyte-airbyte-commons-0.40.32.jar:?]
	at io.airbyte.commons.json.JsonSchemas.traverseJsonSchemaInternal(JsonSchemas.java:205) ~[io.airbyte-airbyte-commons-0.40.32.jar:?]
	at io.airbyte.commons.json.JsonSchemas.traverseJsonSchema(JsonSchemas.java:103) ~[io.airbyte-airbyte-commons-0.40.32.jar:?]
	at io.airbyte.commons.json.JsonSchemas.traverseJsonSchemaWithFilteredCollector(JsonSchemas.java:138) ~[io.airbyte-airbyte-commons-0.40.32.jar:?]
	at io.airbyte.commons.json.JsonSchemas.collectPathsThatMeetCondition(JsonSchemas.java:153) ~[io.airbyte-airbyte-commons-0.40.32.jar:?]
	at io.airbyte.config.persistence.split_secrets.JsonSecretsProcessor.maskAllSecrets(JsonSecretsProcessor.java:71) ~[io.airbyte.airbyte-config-config-persistence-0.40.32.jar:?]
	at io.airbyte.config.persistence.split_secrets.JsonSecretsProcessor.prepareSecretsForOutput(JsonSecretsProcessor.java:59) ~[io.airbyte.airbyte-config-config-persistence-0.40.32.jar:?]
any suggestions? here is my manifest yaml. this is a public api without any authentication
Copy code
version: "0.1.0"

definitions:
  selector:
    type: RecordSelector
    extractor:
      type: DpathExtractor
      field_pointer: []
  requester:
    type: HttpRequester
    url_base: "https://clinicaltrials.gov/api/query"
    http_method: "GET"
    authenticator:
      type: BearerAuthenticator
      api_token: "{{ config['api_key'] }}"
    request_options_provider:
      request_parameters:
        expr: "{{ config['studyid'] }}"
        fmt: "{{ config['format'] }}"
  retriever:
    type: SimpleRetriever
    record_selector:
      $ref: "*ref(definitions.selector)"
    paginator:
      type: NoPagination
    requester:
      $ref: "*ref(definitions.requester)"
  base_stream:
    type: DeclarativeStream
    retriever:
      $ref: "*ref(definitions.retriever)"
  study_stream:
    $ref: "*ref(definitions.base_stream)"
    $options:
      name: "study"
      primary_key: "OrgStudyId"
      path: "/full_studies?expr=xl184-315&fmt=json"

streams:
  - "*ref(definitions.study_stream)"

check:
  stream_names:
    - "study"

spec:
  documentation_url: https://docs.airbyte.com/integrations/sources/clinicaltrials-api
  connection_specification:
    title: Clinicaltrials Api Spec
    type: object
    required:
      - api_key
      - expr
      - fmt
    additionalProperties: true
    properties:
      api_key:
        type: string
      expr: 
        type: string
        description: some expression to query
        examples:
          - xl184-315
      fmt:
        type: string
        examples:
          - json
          - xml
u
Hello Satish Srinivasan, it's been a while without an update from us. Are you still having problems or did you find a solution?