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

Syncswap - Response Error #120

Closed
RamonReis opened this issue May 9, 2024 · 1 comment
Closed

Syncswap - Response Error #120

RamonReis opened this issue May 9, 2024 · 1 comment

Comments

@RamonReis
Copy link
Contributor

V2_SUBGRAPH_URL = "https://gateway-arbitrum.network.thegraph.com/api/ce0ba3625ebbbd3c4b5a2af394dc8e47/subgraphs/id/3xpZFx5YNWzqemwdtRhyaTXVidKNnjY19XAWoHtvR6Lh"

Stack trace:

An error occurred for block [object Object]: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
[2024-05-09, 18:15:34 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-09 18:15:16,265]     at JSON.parse (<anonymous>)
INFO - [2024-05-09 18:15:16,265]     at JSON.parse (<anonymous>)
INFO - [2024-05-09 18:15:16,265]     at parseJSONFromBytes (node:internal/deps/undici/undici:4306:19)
INFO - [2024-05-09 18:15:16,265]     at successSteps (node:internal/deps/undici/undici:4288:27)
INFO - [2024-05-09 18:15:16,265]     at fullyReadBody (node:internal/deps/undici/undici:2724:9)
INFO - [2024-05-09 18:15:16,265]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
INFO - [2024-05-09 18:15:16,265]     at async consumeBody (node:internal/deps/undici/undici:4297:7)
INFO - [2024-05-09 18:15:16,265]     at async getV2UserPositionsAtBlock (/project/tvl_adapters/adapters/syncswap/dist/sdk/lib.js:61:50)
INFO - [2024-05-09 18:15:16,265]     at async getUserTVLByBlock (/project/tvl_adapters/adapters/syncswap/dist/index.js:45:25)
INFO - [2024-05-09 18:15:16,265]     at async /project/tvl_adapters/adapters/syncswap/dist/index.js:103:28
@amedrontadora
Copy link
Contributor

#121 I updated the subgraph request url

nitish-91 added a commit that referenced this issue May 15, 2024
chore: update SyncSwap subgraph url #120
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

3 participants