Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Error storing deploy key: Invalid URL

Open
#940 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
graphql, typescript

Research direction

Start by reproducing graph auth <Deploy_KEY> with a valid deploy key and trace the CLI authentication and key-storage entry points responsible for the prompt and Invalid URL error. Done means the provided key is accepted without an unnecessary prompt and authentication completes without the storage error.

Written by the indexing model from the issue text.

Description

Graph CLI Auth Issue

Description

When running the authentication step using the Graph CLI command:

graph auth <Deploy_KEY>

The CLI still prompts for the deploy key even though it is explicitly provided in the command. Additionally, it throws the following error:

Error: Error storing deploy key: Invalid URL

Even when I manually enter the deploy key when prompted, the error persists.

Steps to Reproduce

  1. Run graph auth <Deploy_KEY> with a valid deploy key.
  2. Observe that the CLI still asks for the deploy key.
  3. Enter the deploy key when prompted.
  4. See the error: Error: Error storing deploy key: Invalid URL.

Expected Behavior

The Graph CLI should authenticate successfully without prompting for the deploy key if it is already provided in the command.

Actual Behavior

  • CLI asks for the deploy key even when provided in the command.
  • Throws Invalid URL error after entering the deploy key.
Dominant language
TypeScript
Stars
186
Forks
49
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from graphprotocol/graph-client

All issues in graphprotocol/graph-client

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.