graphprotocol / graphprotocol/indexer

TypeError: Invalid character in header content ["Authorization"]

Open
#712 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
262
Forks
148
PR merge metrics
No merged PRs in 30d

Description

I'm trying to deploy a subgraph to the sepolia tesnet, but I'm getting this error:

`
graph deploy --studio crowdfundingsepolia

Which version label to use? (e.g. "v0.0.1"): v0.0.1
Skip migration: Bump mapping apiVersion from 0.0.1 to 0.0.2
Skip migration: Bump mapping apiVersion from 0.0.2 to 0.0.3
Skip migration: Bump mapping apiVersion from 0.0.3 to 0.0.4
Skip migration: Bump mapping apiVersion from 0.0.4 to 0.0.5
Skip migration: Bump mapping apiVersion from 0.0.5 to 0.0.6
Skip migration: Bump manifest specVersion from 0.0.1 to 0.0.2
Skip migration: Bump manifest specVersion from 0.0.2 to 0.0.4
✔ Apply migrations
✔ Load subgraph from subgraph.yaml
Compile data source: Router => build/Router/Router.wasm
✔ Compile subgraph
Copy schema file build/schema.graphql
Write subgraph file build/Router/abis/Router.json
Write subgraph manifest build/subgraph.yaml
✔ Write compiled subgraph to build/
Add file to IPFS build/schema.graphql
.. QmTvowubVLpCURbrqH4foZJs7tCHdZTjYuq4KeMj6DjpTS
Add file to IPFS build/Router/abis/Router.json
.. QmXKY5nrhVGrsoPznL8EwmYeCHfAheUjUFDTs28Ve8z7L4
Add file to IPFS build/Router/Router.wasm
.. QmWgG3gsajdm7ruaobkb5dDxPCnYoH3aS3r7dnjtgpxfpm
✔ Upload subgraph to IPFS

Build completed: QmcHfEFScyYFYardNrutEzcZuKFML8v4APaB8XP7ZrAEd4

⠋ Deploying to Graph node https://api.studio.thegraph.com/deploy/ TypeError: Invalid character in header content ["Authorization"]
Code: ERR_INVALID_CHAR
`

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the graph deploy --studio crowdfundingsepolia command against the listed Graph Studio endpoint and inspect how its Authorization header is formed. The issue mentions no source file or test; done means deployment no longer fails with ERR_INVALID_CHAR while uploading the compiled subgraph.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.