I am running a query with GraphQL Admin API for a specific discount code and I am getting this error message:
Internal error. Looks like something went wrong on our end. Request ID: 75344bb4-5f18-4ab0-8ee3-baf568cff973 (include this in support requests).
I was able to run the same query in the Shopify GraphiQL App
Hey @williamFP,
Happy to help you out with this issue.
Sorry that some time has past since the initial report. Could you provide a more recent request-id (ideally last few days) exhibiting the same behaviour.
Regards,
John
Will,
I was having a look at the logs and noticed you've had some successful requests after providing the most recent request-id.
Appears that the request via Insomnia are successful and requests via the Shopify Api Node module are failing. Do I have that correct?
I've attempted to use your query against my own test store using the Shopify Api Node module in the following way and haven't had any issues.
shopify
.graphql(query)
.then((discountCodes) => console.log(discountCodes))
.catch((err) => console.error(err));
Is this how you're using the Shopify Api Node module when you have the requests failing?
User | Count |
---|---|
28 | |
7 | |
7 | |
6 | |
4 |