A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi.
We have a public app running in Shopify store for a while. We are using scriptTag API to inject javascript files. Yesterday when I was checking a store, the scriptTags were not there. After debugging I can see the error as below.
HttpRequestError: Failed to make Shopify HTTP request: FetchError: invalid json response body at https://xxxxxx-xxx.myshopify.com/admin/api/2022-01/script_tags.json reason: Unexpected end of JSON input
I have no idea why this is happening suddenly. And the strange thing is the same app is working fine in other stores and scriptTag APIs are running there.
Can anybody help me resolve this issue.