Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We have noticed that in a number of our queries using the Storefront API that the "query" variable simply doesn't work and returns no results. Shopify Support have acknowledged the issue on 3 occasions over the last couple of days but provided no update.
Query variable would look like so:
"variables":{"first":20,"sortKey":"ID","query":"variants:['sku:dress'] OR title:dress","reverse":true}
in the Shopify UI we get back results
In our API call we get back nothing
The API token has all available scopes.
We have also noticed SIGNIFICANT delays in Shopify's search indexes over the last couple of weeks/month, in which products simply do not show for hours if not days.
How do we get this matter resolved ASAP.
We're experiencing the same issue on our end!
It just stopped to work.
Query:
{
products(first: 250, query:"") {
edges {
cursor
node {
id
title
}
}
}
}
The response is always empty
{ "data": { "products": { "edges": [] } } }
But what I've discovered is that this scheme actually returns results.
While I am still waiting for a response from the Shopify team, I am considering making the switch to this alternative in the meantime.
{
search(query: "r", first: 10, types: PRODUCT) {
edges {
cursor
node {
... on Product {
id
title
}
}
}
}
}
Hey @Igor89 The biggest issue here is apps for other platforms as a result are no longer working. Contentful has a Shopify app and it simply doesn't work because of this issue. It isn't a Contentful issue it is a shopify API issue so for things outside of our control there is no workaround until it is fixed on Shopifys end.
Hey @Igor89 has support been contacted yet. I know @CollagerieTech has and if we're looking at the same problem I'd like to make sure all instances are properly recorded.
John C | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hey @_JCC_ I reached out to support yesterday via email.
Just a quick update:
I've noticed that the problem only occurs on my EU servers, whereas everything is functioning perfectly on my US servers.
Thanks @Igor89 . Could you share the ticket number with me.
John C | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Sure thing!
39699927
It happens here too, the weird part is, It does work on Shopify GraphiQL App inside shopify, but via postman or any other way, it does not.
Hey @MrTakoyaki has support been contacted yet. I know @CollagerieTech has and if we're looking at the same problem I'd like to make sure all instances of the same issue are properly recorded.
John C | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hey Everyone 👋. The issue originally brought up by @CollagerieTech should be resolved.
John C | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog