Skip to content

Source Postgres: config error fail when user does not have permissions #18161

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
edgao opened this issue Oct 19, 2022 · 1 comment
Closed

Source Postgres: config error fail when user does not have permissions #18161

edgao opened this issue Oct 19, 2022 · 1 comment
Assignees
Labels
team/db-dw-sources Backlog for Database and Data Warehouse Sources team type/bug Something isn't working

Comments

@edgao
Copy link
Contributor

edgao commented Oct 19, 2022

Seen in https://github.com/airbytehq/oncall/issues/830

user created a connection (i.e. check passed) but got permission denied for schema heroku_ext during sync.

Plausibly user reconfigured their DB in between connector setup and sync, but let's maybe take a quick look?

@edgao edgao added type/bug Something isn't working team/db-dw-sources Backlog for Database and Data Warehouse Sources team labels Oct 19, 2022
@bleonard
Copy link
Contributor

bleonard commented Oct 20, 2022

Same as the other ones in this area. If this occurs during the sync/discover,
Catch it and...

  1. return clearer instructions for user
  2. stack trace as a config_error
  3. See if there is (fast) something to add tocheck (sounds like it was already there). They aren't likely to have more than 10 schemas

@bleonard bleonard changed the title Source Postgres: Check should fail when user does not have permissions Source Postgres: config error fail when user does not have permissions Oct 26, 2022
@sashaNeshcheret sashaNeshcheret self-assigned this Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/db-dw-sources Backlog for Database and Data Warehouse Sources team type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants