query of "ONLINE_STORE_THEME" via GraphQL produce a server error

9 0 0



I am trying to execute following code to get a list of translatable TEXT fields for my store.


query {
translatableResources(first: 5, resourceType: ONLINE_STORE_THEME) {
edges {
node {
translatableContent {


but it produce a error:


"message": "The server responded with invalid JSON, this is probably a server-side error"


please see the attached screen recording video.



Reply 1 (1)

Shopify Staff
129 15 24

Hey @lakpura - this is odd. I was able to test the query on my test shop and it returned the requested values as expected. Could you try re-trying the the GraphQL call using a custom app and sharing the resulting X-Request-ID from a header response? We can use this to track down the specific API call in our logs and dive a bit more deeply into this. 


Alternatively, if you are the shop's account owner, my recommendation would be to set up a Shopify Partner account if you haven't already and reach out via our "Report an Issue" form through help.shopify.com after you've logged into your partner account. I can't guarantee a reply via that method, but this could potentially get this looked at by our API Support team. We are unable to share sensitive shop information on our community forums, so this may be another good route to get in touch. 


Hope this helps! 

Alan | API 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