"The requested stream categories was not found in the source" Error

Hello Airbyte community,
I’m having some problems when creating my own Airbyte Connector. I got an error message saying: The requested stream categories was not found in the source. Available streams: dict_keys(['accounts']).

As can be seen in the picture above, it happened during the python main.py read --config secrets/config.json --catalog sample_files/configured_catalog.json command and after it finished syncing the accounts endpoint of my source API.
What does this FATAL message mean and how can I fix this problem?

Hello there! You are receiving this message because none of your fellow community members has stepped in to respond to your topic post. (If you are a community member and you are reading this response, feel free to jump in if you have the answer!) As a result, the Community Assistance Team has been made aware of this topic and will be investigating and responding as quickly as possible.
Some important considerations that will help your to get your issue solved faster:

  • It is best to use our topic creation template; if you haven’t yet, we recommend posting a followup with the requested information. With that information the team will be able to more quickly search for similar issues with connectors and the platform and troubleshoot more quickly your specific question or problem.
  • Make sure to upload the complete log file; a common investigation roadblock is that sometimes the error for the issue happens well before the problem is surfaced to the user, and so having the tail of the log is less useful than having the whole log to scan through.
  • Be as descriptive and specific as possible; when investigating it is extremely valuable to know what steps were taken to encounter the issue, what version of connector / platform / Java / Python / docker / k8s was used, etc. The more context supplied, the quicker the investigation can start on your topic and the faster we can drive towards an answer.
  • We in the Community Assistance Team are glad you’ve made yourself part of our community, and we’ll do our best to answer your questions and resolve the problems as quickly as possible. Expect to hear from a specific team member as soon as possible.

Thank you for your time and attention.
The Community Assistance Team

As an addition to this topic. I do have an Account stream in my def streams function like

def streams(self, config: Mapping[str, Any]) -> List[Stream]:
    gateway_url = self.gateway_url(config)
    client = RobinAuthenticator(config["username"], config["password"], gateway_url)
    kwargs = {
        "gateway_url": gateway_url,
        "client": client,
        "start_date": config.get("start_date"),
    return [

and source.py set up like

class Accounts(RobinOdataStream):
    primary_key = "UniqueId"
    use_cache = True

    def path(self, **kwargs) -> str:
        return ""

Also the entire log file is saying:

{"type": "LOG", "log": {"level": "INFO", "message": "Starting syncing SourceRobinOdata"}}
{"type": "LOG", "log": {"level": "INFO", "message": "Syncing stream: accounts "}}
{"type": "LOG", "log": {"level": "INFO", "message": "Backing off _send(...) for 5.0s (airbyte_cdk.sources.streams.http.exceptions.DefaultBackoffException: Request URL: https://api.robinhq.com/odata/accounts, Response Code: 571, Response Text: )"}}
{"type": "LOG", "log": {"level": "INFO", "message": "Caught retryable error 'Request URL: https://api.robinhq.com/odata/accounts, Response Code: 571, Response Text: ' after 1 tries. Waiting 5 seconds then retrying..."}}
{"type": "RECORD", "record": {"stream": "accounts", "data": {**[deleted for privacy purposes]**}, "emitted_at": 1663603385702}}
**[240 more records]**
Not more than 1000 rows found
{"type": "LOG", "log": {"level": "INFO", "message": "Read 241 records from accounts stream"}}
{"type": "LOG", "log": {"level": "INFO", "message": "Finished syncing accounts"}}
{"type": "LOG", "log": {"level": "INFO", "message": "SourceRobinOdata runtimes:\nSyncing stream accounts 0:00:07.228217"}}
{"type": "LOG", "log": {"level": "FATAL", "message": "\"The requested stream categories was not found in the source. Available streams: dict_keys(['accounts'])\"\nTraceback (most recent call last):\n  File \"main.py\", line 13, in <module>\n    launch(source, sys.argv[1:])\n  File \"/Users/ricardo/airbyte/airbyte-integrations/connectors/source-robin-odata/.venv/lib/python3.7/site-packages/airbyte_cdk/entrypoint.py\", line 127, in launch\n    for message in source_entrypoint.run(parsed_args):\n  File \"/Users/ricardo/airbyte/airbyte-integrations/connectors/source-robin-odata/.venv/lib/python3.7/site-packages/airbyte_cdk/entrypoint.py\", line 118, in run\n    for message in generator:\n  File \"/Users/ricardo/airbyte/airbyte-integrations/connectors/source-robin-odata/.venv/lib/python3.7/site-packages/airbyte_cdk/sources/abstract_source.py\", line 108, in read\n    f\"The requested stream {configured_stream.stream.name} was not found in the source.\"\nKeyError: \"The requested stream categories was not found in the source. Available streams: dict_keys(['accounts'])\""}}

After talking with a community member on Slack, I figured out that I had a stream called “categories” configured in the configured_catalog.json file. After making a new stream class with that configured name in the source.py file or deleting the stream within the configured_catalog.json file, the error was gone.