Solved

GraphQL storefront api returns Timeout error

jozefcipa
Shopify Partner
7 0 2

We've been using GraphQL query for fetching the list of all product types in the store and it all worked fine until now. Currently, API returns error "Timeout". Can anyone explain this or provide more details why is this happening? 

 

query {
  productTypes(first: 5) {
    edges {
      cursor
      node
    }
    pageInfo {
      hasNextPage
    }
  }
}

------ 
response:
------
{
  "errors": [
    {
      "message": "Timeout"
    }
  ]
}
Accepted Solution (1)
Alex
Shopify Staff
1561 81 341

This is an accepted solution.

We've shipped a revert to the code which caused this issue. You should be good but let me know if you're seeing anything to the contrary.

 

Cheers.

Alex | 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 the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 3 (3)

Alex
Shopify Staff
1561 81 341

Thanks for the heads up. I've reported this issue with the development team and will update this thread when I have more to share.

 

Cheers.

Alex | 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 the Shopify Help Center or the Shopify Blog

Alex
Shopify Staff
1561 81 341

This is an accepted solution.

We've shipped a revert to the code which caused this issue. You should be good but let me know if you're seeing anything to the contrary.

 

Cheers.

Alex | 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 the Shopify Help Center or the Shopify Blog

Pavel6
Visitor
2 0 0
mutation productUpdate($input: ProductInput!) {
productUpdate(input: $input) {
product{
title
}
userErrors{
field
message
}
}
}

================
{ errors: [ { message: 'Timeout' } ] }