hi im creating calls and using bubble.io there api caller is not reading the subgraph
this is the one im using
hi im creating calls and using bubble.io there api caller is not reading the subgraph
this is the one im using
Hi, I can see that the subgraph is at chain head and returning data.
Can you share the error you are seeing and the query you are making?
added it to bubble and tried to initalize the call i get this error when i do
saying -
There was an issue setting up your call.
The API call returns a non-object and you picked JSON
in bubble i have put the api call url in place am i missing something
Have you tried reaching out to Bubble for support? It looks like the issue is on their system. Also, one thing I see is you are using GET, are you able to change that to POST?
i have changed it to post and i get a text box like below i have added the quiery to that and still get a error
Okay, let me share this error with our team.
@unmadesugar Have you tried using another client to see if it works?
what do you mean by another client
The team shared this for GraphQL over HTTP POST: https://graphql.org/learn/serving-over-http/#post-request
The query should look like this
{"query": "pools(...){...}"}
trying to work out how that would be wrote
query Pools {
pools(orderBy: totalValueLockedUSD,
orderDirection: desc, first: 5) {
id
totalValueLockedUSD
token0Price
token1Price
token0 {
id
symbol
name
decimals
}
token1 {
id
symbol
name
decimals
}
}
}
thats how i have it in sub graph
any ideas on how it writes