Uncaught (in promise) SyntaxError: Unexpected token 'N', "No shop provided" is not valid JSON

syedusama076
Shopify Partner
7 0 5

I am calling an API in Shopify embedded app and it gives me the error "Uncaught (in promise) SyntaxError: Unexpected token 'N', "No shop provided" is not valid JSON", How can I fix it?

SyeDUsamABukharI
Replies 2 (2)

Brandammo
Shopify Partner
7 0 5

Same issue

sanjidulhaque
Shopify Partner
1 0 0

Facing same issue while fetching a JSON file's data with http. Did you able to resolve it?