airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
16.04k stars 4.11k forks source link

GitHub source : Personal Access Token authentication method fails since version 0.2.23 #11651

Closed anatolec closed 2 years ago

anatolec commented 2 years ago
## Environment - **Airbyte version**: example is 0.35.4-alpha - **OS Version / Instance**: AWS EC2 - **Deployment**: Docker - **Source Connector and version**: 0.2.23 - **Severity**: High - **Step where error happened**: Sync job ## Behavior In version 0.2.22 of the connector it was possible to use Personal Access Token to authenticate into Github, now it is no longer possible. ## Logs
LOG ``` 2022-04-01 07:40:55 source > Config validation error: 'OAuth Credentials' was expected Traceback (most recent call last): File "/airbyte/integration_code/main.py", line 13, in launch(source, sys.argv[1:]) File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/entrypoint.py", line 127, in launch for message in source_entrypoint.run(parsed_args): File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/entrypoint.py", line 98, in run check_config_against_spec_or_exit(config, source_spec) File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/utils/schema_helpers.py", line 161, in check_config_against_spec_or_exit raise Exception("Config validation error: " + validation_error.message) from None Exception: Config validation error: 'OAuth Credentials' was expected ```
## Steps to Reproduce 1. Use version 0.2.22 to configure a Personal Access Token 2. Launch a sync --> it works 3. Upgrade to 0.2.23 4. Launch a sync --> it fails v0.2.2 : Capture d’écran 2022-04-01 à 09 56 47
sherifnada commented 2 years ago

@AnatolePledg thanks for the report, will take a look