Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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)