Skip to content

Give users a hint about what to do when installing a driver gives a 401 Unauthorized error #253

Closed

Description

@ianmcook

Currently if you're not logged in and you try to install a driver that requires you to be logged in, you see:

Error: failed to download driver <uri>: 401 Unauthorized

But this doesn't give the user any clue what to do. Could we expand that error message to be something like this:

Error: failed to download driver <uri>: 401 Unauthorized
Did you run `dbc auth login`?

?

Activity

  1. added this to the 0.1.x milestone on Jan 20, 2026
  2. ianmcook commented on Jan 20, 2026

    @ianmcook
    MemberAuthor

    Even better:

    Print ☝️ that if the user is not auth'd.

    If the user is already auth'd when they get the 401 error, print:

    Do you have an active license for this driver? Contact [email protected] for assistance.
    
  3. amoeba commented on Jan 20, 2026

    @amoeba
    Member

    +1. This is very much similar in spirit to #97.

  4. ianmcook commented on Jan 20, 2026

    @ianmcook
    MemberAuthor

    I'll make this a sub-issue of #97.

  5. added a commit that references this issue on Apr 17, 2026
    a7f9319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions