Skip to content
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

internal error when querying unknown subgraph with free query auth #571

Open
Theodus opened this issue Jan 6, 2025 · 0 comments
Open

internal error when querying unknown subgraph with free query auth #571

Theodus opened this issue Jan 6, 2025 · 0 comments

Comments

@Theodus
Copy link
Member

Theodus commented Jan 6, 2025

Describe the bug
Sending a query through the indexer-service, when using a free query auth token, sometimes results in an HTTP 500 error. It seems to work as expected when querying a subgraph that is being indexed.

To Reproduce

curl "${indexer_url}/subgraphs/id/${deployment}" \
  -H 'content-type: application/json' -H "authorization: Bearer ${auth_token}" \
  -d '{"query": "{ _meta { block { number } } }"}' -v

where deployment is a valid "Qm" hash for a deployment that does not exist (e.g. a deployment from testnet when running the indexer-service on mainnet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant