Created default app but it doesnt work

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App

Expected behavior

the app doesnt change the url

Actual behavior

i create new app from cli (react router with typescript) when i tried to run it with “npm run dev” it doesnt work i have “Handling response” on the screen and two 401 error that on my default browser (google chrome) i tried to run it on firefox and safari as well and i have "Oauth error application_cannot_be_found: Could not find Shopify API application with api_key 990ab45424c 65c87ac09d0b8c4179007 " even though double checked the client id from dev dashboard and it does exist

Reproduction steps

fix the bug and make the app run on default settings

Verbose output

0 verbose cli /Users/abdurrahman/.nvm/versions/node/v22.17.1/bin/node /Users/abdurrahman/.nvm/versions/node/v22.17.1/bin/npm
1 info using npm@11.6.0
2 info using node@v22.17.1
3 silly config load:file:/Users/abdurrahman/.nvm/versions/node/v22.17.1/lib/node_modules/npm/npmrc
4 silly config load:file:/Users/abdurrahman/Desktop/my-shopify-apps/masdi-saas-start/.npmrc
5 warn Unknown project config "shamefully-hoist". This will stop working in the next major version of npm.
6 silly config load:file:/Users/abdurrahman/.npmrc
7 silly config load:file:/Users/abdurrahman/.nvm/versions/node/v22.17.1/etc/npmrc
8 verbose title npm run dev
9 verbose argv "run" "dev" "--loglevel" "verbose"
10 verbose logfile logs-max:10 dir:/Users/abdurrahman/.npm/_logs/2026-01-12T07_43_52_880Z-
11 verbose logfile /Users/abdurrahman/.npm/_logs/2026-01-12T07_43_52_880Z-debug-0.log
12 silly logfile start cleaning logs, removing 1 files
13 silly logfile done cleaning log files

Operating system

mac os (15.6.1 )

CLI version

3.88.1

Shell

mac terminal

Nodejs version

22.17.1

What language and version are you using in your application?

typescript

Hi @Abdurrahman_masdi

Could this error be due to the space here:

12-36-bx5pq-va3g4

yeah thanks, but now i got “Handling response” on the screen and two 401 error on both browers

If you’re certain that the client secret in the app matches what’s in the Dev Dashboard, then run shopify app config link and uninstall/ reinstall the app on the dev store.

i tired it its actually doesnt work, even though i made totally new app and tried it with default settings, after that i tired totally new tunnel using ngrok and got the same issu 401 error with “handling response“ screen

Hi again @Abdurrahman_masdi

Since both Cloudflare and ngrok tunnels aren’t working, can you try running without any tunnel:

shopify app dev --use-localhost

This uses a local HTTPS certificate instead of a tunnel. This eliminates tunnel-related issues.

i tried it now and i got the error after commenting some features in webhooks in “shopify.app.toml“ file

[webhooks]
api_version = “2026-04”

#[[webhooks.subscriptions]]

#topics = [ “app/uninstalled” ]

#uri = “/webhooks/app/uninstalled”

#[[webhooks.subscriptions]]

#topics = [ “app/scopes_update” ]

#uri = “/webhooks/app/scopes_update”

now its working in terminal but its the same screen, “handling response“ screen