Config validation error: 'TODO' is a required property

  • Is this your first time deploying Airbyte?: Yes
  • OS Version / Instance: WSL2 on Windows
  • Memory / Disk: 16Gb /
  • Deployment: Docker
  • Airbyte Version: airbyte-cdk~=0.1.56
  • Source name/version: excahngerate API
  • Destination name/version:

Hi all, I am a beginner trying to follow the tutorial for creating a connector for http API, and I am stuck, at the Step 4: Connection Checking of this tutorialhttps://docs.airbyte.com/connector-development/tutorials/cdk-tutorial-python-http/connection-checking
Can you please help me fiw this issue ?



docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-http-api-test:dev check --config /secrets/config.json
{"type": "LOG", "log": {"level": "FATAL", "message": "Config validation error: 'TODO' is a required property\nTraceback (most recent call last):\n  File \"/airbyte/integration_code/main.py\", line 13, in <module>\n    launch(source, sys.argv[1:])\n  File \"/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py\", line 118, in launch\n    for message in source_entrypoint.run(parsed_args):\n  File \"/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py\", line 89, in run\n    check_config_against_spec_or_exit(config, source_spec)\n  File \"/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/utils/schema_helpers.py\", line 160, in check_config_against_spec_or_exit\n    raise Exception(\"Config validation error: \" + validation_error.message) from None\nException: Config validation error: 'TODO' is a required property"}}
{"type": "TRACE", "trace": {"type": "ERROR", "emitted_at": 1656492377854.832, "error": {"message": "Something went wrong in the connector. See the logs for more details.", "internal_message": "Config validation error: 'TODO' is a required property", "stack_trace": "Traceback (most recent call last):\n  File \"/airbyte/integration_code/main.py\", line 13, in <module>\n    launch(source, sys.argv[1:])\n  File \"/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py\", line 118, in launch\n    for message in source_entrypoint.run(parsed_args):\n  File \"/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py\", line 89, in run\n    check_config_against_spec_or_exit(config, source_spec)\n  File \"/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/utils/schema_helpers.py\", line 160, in check_config_against_spec_or_exit\n    raise Exception(\"Config validation error: \" + validation_error.message) from None\nException: Config validation error: 'TODO' is a required property\n", "failure_type": "system_error"}}}

Hi @berkanecyl,
The error means that your spec.yaml file declared a configuration field named TODO that is not present in the secrets/config.json the file you passed to the check .
Please share your spec.yaml and secrets/config.json (with obfuscated secrets) if you need additional assistance.

Hi there from the Community Assistance team.
We’re letting you know about an issue we discovered with the back-end process we use to handle topics and responses on the forum. If you experienced a situation where you posted the last message in a topic that did not receive any further replies, please open a new topic to continue the discussion. In addition, if you’re having a problem and find a closed topic on the subject, go ahead and open a new topic on it and we’ll follow up with you. We apologize for the inconvenience, and appreciate your willingness to work with us to provide a supportive community.