Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.
This repository was archived by the owner on May 17, 2024. It is now read-only.

Wrong API key gives 404 instead of complaining about the API key #387

Closed as not planned
@glebmezh

Description

@glebmezh

Describe the bug
When you invoke data-diff in Cloud mode with a wrong API key, it gives a cryptic 404 error. I was lucky to have suspected the API key problem right away. Instead, it should give an error calling out that API key was rejected.

data-diff --dbt --cloud
Found 3 successful model runs from the last dbt command.
[08:47:55] ERROR - 404 Client Error: Not Found for url: https://app.datafold.com/api/v1/datadiffs
  • data-diff v0.4.0
  • OS: MacOS 12.5
  • Python 3.10.0

Metadata

Metadata

Assignees

Labels

--dbtIssues/features related to the dbt integrationbugSomething isn't workingcloudIssues related to data-diff <> Datafold Cloud interactionstaleIssues/PRs that have gone stale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions