Hi team, I'm working on a connector using the Low ...
# ask-community-for-troubleshooting
a
Hi team, I'm working on a connector using the Low Code CDK and am so close to finishing it with just one error in my way 🥹 How do i solve this error? Assertion error at least one record should be read from the catalog
h
It seems like your stream return no data, you can either add some data or add the stream name to the empty_streams list like this:
Copy code
basic_read:
    tests:
      - config_path: "secrets/config.json"
        configured_catalog_path: "integration_tests/configured_catalog.json"
        empty_streams:
          - name: metrics
            bypass_reason: "Explain why this stream return no-data"
a
By adding data, do you mean adding it to the account from which the stream reads? I tried adding it to empty streams but more errors arise instead.
h
"...account from which the stream reads" -> Yes Can you share your code ? or at least the acceptance test file?
a
Yeah sure, Do you want me to share the gh repo link as well?
h
Remove the "*-*" before the
bypass_reason
Copy code
empty_streams:
          - name: workspaces
            bypass_reason: "Stream has no data to pull"
a
Thanks for helping out, I've made the change but i keep getting this pydantic Validation error Any tips on resolving it
h
Can you share your repo. code?
a
Thanks for helping but I managed to resolve it 😁
1
s
Thanks for jumping in @Haithem (WOOP) and happy to hear you were able to resolve your issue @Aazam Thakur. Feel free to post more questions here in the channel