Http request error, no response available: GraphQL Client: fetch failed #902
Description
Hi. Absolutely randomly i am getting this error when executing graphql queries.
This can happen spontaniously 1 time in 30 minutes of testing .
export async function getShopInfoQuery(admin: AdminApiContext) {
const response = await admin.graphql(`#graphql
query getShop {
shop {
id
contactEmail
name
primaryDomain {
host
}
}
}
`)
const responseJson = await response.json()
return responseJson?.data?.shop
}
This is query request. Nothing unusual . It works perfectly 99% of time.
I have been trying to check if this is an issue of too many requests - but it is not, too may requests creates another error and i am way beyond too many requests.
I am using same versions as : https://github.com/Shopify/shopify-app-template-remix/blob/main/package.json
I aslo tried to send 100 requests and check if there will be an error - no error at all, only sometimes spontaniously : /
Metadata
Assignees
Labels
No labels