Unknown error occurred when using shopify app deploy

Hello, I have been working on an app for a few months. Today, I executed the command shopify app deploy which was working fine. The CLI showed me that I need to upgrade the cli version which I did.

I then executed the command shopify app config use , chose the right toml file and then shopify app deploy. It now shows the following:

I uninstalled the app from the test store and re-installed. It didnt work.

I opened the link provided by the CLI, it goes to the release preview page, I click release and it shows 500 error.

Here are my environment versions of npm, node and shopify cli:

node --version
v22.14.0

npm --version
10.9.2

shopify --version
@shopify/cli/3.84.2 darwin-arm64 node-v22.14.0

How can I solve this?

Thanks!

HI @boutiqueappsllc

This “Unknown error” message is usually a generic error that hides a more specific problem.

First, your session may have expired, so run shopify login --store <your-store-url> to re-authenticate. Next, ensure your command-line tool is up to date by running shopify upgrade, as this can resolve many common bugs.

If the error persists, the most crucial step is to get more details by running the deploy command with the --verbose flag, like this: shopify app deploy --verbose. The detailed log from this command will almost always show the true, specific error that is causing the deployment to fail, allowing you to address the root cause directly.