Internal Server Error when run shopify app dev

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?

Extension

Expected behavior

It should be success dev

Actual behavior

it got internal server error

Reproduction steps

Step 1:

  • shopify app init --template none
    Step 2:
  • shopify app generate extension
    Step 3:
  • shopify app dev

Verbose output

The App Dev GraphQL API responded unsuccessfully with errors:

[
{
“message”: “Internal error. Looks like something went wrong on our
end.”,
“extensions”: {
“code”: “INTERNAL_SERVER_ERROR”
}
}
]

Request ID: 69598a3e-ffc8-464c-8077-30059234c8c2-1762241049

Operating system

Mac OS Monterey

CLI version

@shopify/cli/3.86.1 darwin-arm64 node-v20.10.0

Shell

iTerm2

Nodejs version

v20.10.0

What language and version are you using in your application?

Node20.10

1 Like

Hi there,

Thanks for providing the full error details including Request ID.

Can you retry shopify app dev and share the error information?
Can you also share with me the type of extension that you created at step 2?

I just retried and here is error

 The App Dev GraphQL API responded unsuccessfully with errors:               │
│                                                                              │
│  [                                                                           │
│    {                                                                         │
│      "message": "Internal error. Looks like something went wrong on our      │
│  end.",                                                                      │
│      "extensions": {                                                         │
│        "code": "INTERNAL_SERVER_ERROR"                                       │
│      }                                                                       │
│    }                                                                         │
│  ]                                                                           │
│                                                                              │
│  Request ID: 2591b013-75d5-4476-ad18-e65b82c18d28-1762242333

step 2: I using payment offsite extension

Thanks for sharing!

Can you confirm if you are approved for payments?

Maybe it’s not approved. I follow this doc and can’t see the any requirement for approved. Could you please give me the steps to run the dev Shopify, Build an offsite payments extension with Shopify CLI

Payment extensions can only be built by approved partners, this programme is currently invitation only.

Thanks for your answer. I’m clear it now.

I have one more question. Do we have any way for development testing by installing my extension app, instead Published app. I need to develop and test some API before submitting app

At the moment you need to be granted permission before you can build a payment extension.

Could you please give me the flow or steps to grant permission

Permission is granted by invitation only right now.
We will open for applications in the future.

Here is more information on that process:

The steps should be

  1. Generate payment extension
  2. Deploy release extension
  3. Submit release for review app
  4. After approved I can continue to working, install/active app for payment

Please confirm or correct me if have any wrong

Currently it is:

  1. Get invited to use Payment Apps API
  2. Partner submits application
  3. We review application
  4. If approved, access to build payment extension is granted
  5. Payment extension is built
  6. Submit app for review
  7. We review app
  8. If approved, app can be launched

This process may change as the Payment Apps API evolves. But the above is the current process at the moment.

In step 4 I assume only app approved can select payment extension like offsite is it correct?

We allow generation, but only approved Partners can run shopify app dev and shopify app deploy in the Shopify CLI while a payment extension exists in the app.

how can check approved Partners or not please give me step

I can do that for you now :slight_smile:
I will send a DM to you to ask for your Partner Organization information.

Sharing for context in case other Payment Partners encounter the same issue.

The Partner found that the solution was to run the following command:

shopify app dev --tunnel-url <tunnel>

The command needed that flag since their payment extension was using a tunnel.

I am also getting the same error in my remix app

Operating system

Fedora

CLI version

3.87.0

Node

v22.20.0

Hey i updated the cli
Now it works fine Thanks!

1 Like