Error message with query

I’ve noticed that sometimes I’ll get an error response from BitQuery that says something about the query taking too long to process, like its timing out.

Then I’ll try the same query again and it’ll work the second time.

What’s the reason for this? Is this normal? How can I prevent this from happening or mitigate the frequency of it?


In order to mitigate it from happening in the future, it is always recommended to pass an optimized GraphQL query to the IDE. Filtering the query with parameters like date, limit, exchangeName, etc. can help in optimizing your GraphQL query and hence, reduce such errors from happening.