subgrounds icon indicating copy to clipboard operation
subgrounds copied to clipboard

`HTTPStatusError: Client error '410 Gone'` for example

Open nocibambi opened this issue 1 year ago • 0 comments

Describe the bug I am just learning about The Graph and subgrounds. The example in the README.md throws the following error:

HTTPStatusError: Client error '410 Gone' for url 'https://api.thegraph.com/subgraphs/name/messari/aave-v2-ethereum'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410

To Reproduce Install subgrounds

python -m pip install subgrounds

Try to execute the example

from subgrounds import Subgrounds

sg = Subgrounds()

aave_v3 = sg.load_subgraph("https://api.thegraph.com/subgraphs/name/messari/aave-v3-ethereum")

>>> HTTPStatusError: Client error '410 Gone' for url 'https://api.thegraph.com/subgraphs/name/messari/aave-v2-ethereum'
>>> For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410

Expected behavior No error

Desktop (please complete the following information):

  • OS: Ubuntu 22.04

Python version (please complete the following information):

  • 3.13

nocibambi avatar Oct 26 '24 17:10 nocibambi