Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Source Notion: Integration with AuthToken fails to collect all streams. #23247

Closed
ghost opened this issue Feb 20, 2023 · 3 comments
Closed

Comments

@ghost
Copy link

ghost commented Feb 20, 2023

Environment

  • Airbyte version: 0.40.32
  • OS Version / Instance: Ubuntu 18.04
  • Deployment: Docker container
  • Source Connector and version: Notion 1.0.1
  • Destination Connector and version: E2E and Postgres
  • Step where error happened: Sync data

Current Behavior

The connection is successfully created using the AuthToken from Notion. When syncing the data to either E2E or Postgres, only the users stream is synced. The logs are attached - seems the error is with the auth method.

Expected Behavior

All streams should sync.

Logs

The log file is attached.

Steps to Reproduce

  1. Setup Notion integration - Source
  2. Copy Notion secret to Airbyte authToken
  3. Setup E2E or Postgres DB as Destination
  4. Sync the connection.

671dc7d6_12d4_4bec_aac6_87b789c3ea1c_logs_25_txt.txt

@ghost ghost added needs-triage type/bug Something isn't working labels Feb 20, 2023
@philippeboyd
Copy link
Contributor

I think this is a duplicate of #16987

@ghost
Copy link
Author

ghost commented Feb 21, 2023

It is similar in the sense that the streams are not syncing. I have implemented the changes as specified by ticket #16987. However, the difference comes with the auth method. The errors from the log file state there is a problem with the auth method, irrespectable of which auth method is used:

2023-02-20 10:08:40 锟絒32mINFO锟絒m i.a.v.j.JsonSchemaValidator(test):130 - JSON schema validation failed.
errors: $.auth_type: must be a constant value OAuth2.0, $.client_id: is missing but it is required, $.client_secret: is missing but it is required, $.access_token: is missing but it is required
2023-02-20 10:08:40 锟絒32mINFO锟絒m i.a.v.j.JsonSchemaValidator(test):130 - JSON schema validation failed.
errors: $.token: object found, string expected

In the above instance, the access_token auth method is used.

@natalyjazzviolin natalyjazzviolin changed the title Notion Integration with AuthToken fails to collect all streams. 馃悰 Source Notion: Integration with AuthToken fails to collect all streams. Feb 21, 2023
@jrolom jrolom added the help-welcome Accepting external contributions label Jun 22, 2023
@ChristoGrab ChristoGrab self-assigned this Sep 19, 2023
@ChristoGrab
Copy link
Contributor

I've tried reproducing this error with multiple permutations of keys and permissions, but have been unable to do so. I believe the underlying cause was fixed with the migration to AdvancedAuth. I am closing for now, but will keep an ear to the ground in case a similar issue is reported in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

5 participants