SyntaxError: Unexpected end of JSON input after getting All-Orders-Access approval

Topic summary

Issue: After being granted “All Orders” access (Shopify’s protected read_all_orders permission), a new local development app throws “SyntaxError: Unexpected end of JSON input” when run.

Context: The developer created a secondary app for local work that mirrors the production app’s scopes. The production app is set to Public distribution, while the new development app is set to Custom distribution—the only stated difference.

Actions: Matched scopes to the production app; obtained All-Orders-Access approval; attempted to run locally and encountered the JSON parse error.

Open question: The developer is unsure if the Custom vs Public distribution or recent permission changes could be causing malformed/empty responses leading to the JSON error.

Artifacts: A screenshot of the error is provided and central to understanding the issue.

Status: No solution or guidance yet; discussion remains open.

Summarized with AI on December 31. AI used: gpt-5.

Hi everyone, I’m having some issues since I created a new App to work locally on my original App that is already on Production. Yesterday, I requested access to all orders from my Shopify Partner’s Account. When they gave me that access, I ran my App but I’m getting this message:

I already add the same scopes that I have in my Production’s App in this new App. The unique difference between both is that the original one has a Public App distribution since we want to publish it in the Shopify App Store, the new one for development purposes is a Custom App distribution, so I don’t know if that will be affecting the app to get the error I’m having.

I’ll appreciate any support with this issue.