ScriptTag API error for a particular store only.

ScriptTag API error for a particular store only.

suhailcmr
Shopify Partner
7 1 2

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.

Building LogiLinker, PinPointly and Swish | Founder/CTO at The One Percentages
Replies 0 (0)