GraphQL Error (Code: 403)

I’m using const { GraphQLClient, gql } = require(‘graphql-request’) to query data from bitquery and 5 out 10 times I may get 403 error and it would work after retrying. Does anyone face this too or what I should do?

I’m querying a simple query pulling some hashid with block on condition so the return result would not be too big.

(node:87917) UnhandledPromiseRejectionWarning: Error: GraphQL Error (Code: 403): {“response”:{“error”:"\r\n403 Forbidden\r\n\r\n

403 Forbidden

\r\n
nginx\r\n\r\n\r\n",“status”:403,“headers”:{}},“request”:{“query”:"\n {\n ethereum(network: matic) {\n smartContractCalls(smartContractAddress: {in: “{contract}”}) {\n transaction {\n txFrom {\n address\n }\n }\n block {\n height\n }\n }\n }\n }\n "}}

1 Like

Sorry for the inconvenience. It’s a bug, we’ll have the dev team look into it.

Hi, I’ve been facing the same issue from a few days ago. Could you take a look with the dev team?

Can you check if you have exhausted your points? That is one of the reasons for the 403 error