Unauthorized Failed To get tunnel - Shopify CLI - Shopify App Development

Topic summary

Main issue: Running “npm run dev” with Shopify CLI returns “Unauthorized Failed To get tunnel,” blocking local app development.

Scope: Multiple developers report the same error after a short hiatus. A screenshot of the error was shared. Chat support offered no immediate guidance.

Troubleshooting attempted:

  • Reset IP address.
  • Run “npm run dev – --reset.”
    Neither resolved the issue.

Likely cause: Cloudflare Tunnel degraded performance per the Cloudflare status page. Shopify CLI relies on a tunnel (reverse proxy) to expose the local dev server to the internet for app callbacks.

Latest updates:

  • One participant confirms it was a Cloudflare issue.
  • Mixed outcomes: it now works for some, still failing for others.

Outcome/status: No definitive fix from the thread. The problem appears service-related and intermittent, not a code/config error.

Action items/next steps:

  • Monitor Cloudflare status and retry when service stabilizes.
  • Await official guidance from Shopify technical support for persistent failures.

Open questions: What steps should affected users take if the tunnel remains unauthorized after Cloudflare recovery?

Summarized with AI on January 16. AI used: gpt-5.

Nope, I reached out to chat support but they dont have the knowledge with this kind of issues.. Lets home shopify technical support will read our post

2 Likes