Shopify CLI Bug Report - Internal Server Error on App Deployment

## Issue Summary

Getting persistent `INTERNAL_SERVER_ERROR` when attempting to deploy a Shopify app using `shopify app deploy --force`. The error occurs during the “Releasing an app version” phase after the discount function successfully builds and validates.

## Environment

- **Shopify CLI Version**: 3.87.3

- **Node Version**: 24.11.0

- **OS**: macOS (darwin arm64)

- **Package Manager**: npm (with workspaces)

- **Shell**: zsh

## App Details

- **App Name**: graphene-x-bundle / Products Bundle Application

- **App Client ID**: 2513295df42a505c805d594981a6a7f5

- **Partner Org ID**: 129013937

- **Extension Type**: Discount Function (order_discounts)

- **API Version**: 2024-01

- **Dev Store**: graphene-x-shop.myshopify.com

## Command Used

```bash

shopify app deploy --force --verbose

```

## Error Message

```

╭─ error ──────────────────────────────────────────────────────────────────────╮

│ │

│ │

│ The App Management GraphQL API responded unsuccessfully with errors: │

│ │

│ [ │

│ { │

│ “message”: "Internal error. Looks like something went wrong on our │

│ end.", │

│ “extensions”: { │

│ “code”: “INTERNAL_SERVER_ERROR” │

│ } │

│ } │

│ ] │

│ │

│ Request ID: ca65ced3-b7c5-44b9-ba34-10f4d4ef82c4-1763070943 │

│ │

│ │

╰──────────────────────────────────────────────────────────────────────────────╯

```

## Deployment Process

The deployment follows these stages:

1. :white_check_mark: **Building function bundle-discount** - Succeeds

2. :white_check_mark: **Building GraphQL types** - Succeeds

3. :white_check_mark: **Bundling JS function** - Succeeds

4. :white_check_mark: **Running javy** - Succeeds

5. :white_check_mark: **Running validation** - Succeeds

6. :cross_mark: **Releasing an app version** - **FAILS with INTERNAL_SERVER_ERROR**

## Request IDs (Multiple Attempts)

The error has occurred across multiple deployment attempts:

- `ca65ced3-b7c5-44b9-ba34-10f4d4ef82c4-1763070943` (Latest)

- `52714fa0-5f3b-444f-aea0-a7b56405f4c5-1763067680`

- `a0fb3a18-4f5a-4283-aa3e-c8cd191d389d-1763065806`

- `9c7b585d-aaf1-4505-95c5-5f9d5dd3fbab-1763064833`

- `cf4e7078-1938-4f9c-b732-9ce3d2f46b8e-1763063999`

## Timeline

- **Started**: November 13, 2025 ~20:00 UTC

- **Duration**: 2+ hours of repeated failures

- **Attempts**: 5+ deployment attempts, all failing at same stage

## What Works

- :white_check_mark: Function builds successfully

- :white_check_mark: GraphQL schema validation passes

- :white_check_mark: WASM compilation completes

- :white_check_mark: Can release existing app versions (`shopify app release --version=“…” --force`)

## What Doesn’t Work

- :cross_mark: Cannot create new app versions via `shopify app deploy`

- :cross_mark: Cannot update app configuration

- :cross_mark: Error persists with `–force`, `–no-release`, and other flags

## App Configuration (shopify.app.graphene-x-bundle.toml)

```toml

client_id = “2513295df42a505c805d594981a6a7f5”

name = “Products Bundle Application”

handle = “graphene-x-bundle”

application_url = “https://graphene-x.vercel.app/

embedded = true

[build]

automatically_update_urls_on_dev = true

dev_store_url = “graphene-x-shop.myshopify.com

[webhooks]

api_version = “2025-10”

[access_scopes]

scopes = “read_orders,read_products,write_discounts,write_products”

[auth]

redirect_urls = [“https://graphene-x.vercel.app/api/auth/callback”]

[pos]

embedded = false

```

## Extension Configuration (shopify.extension.toml)

```toml

name = “bundle-discount”

uid = “208e9edf-8b9b-6b74-3f3a-539fdede2328f859a084”

type = “function”

api_version = “2024-01”

[[function.configuration]]

type = “order_discounts”

description = “Bundle discount function for Graphene X store”

[function.configuration.ui]

enable_creation_ui = true

[function.input]

query = “input.graphql”

[function.export]

output = “src/index.js”

```

## Analytics Data (from verbose logs)

```json

{

“cmd_deploy_config_modules_updated”: [“access_scopes”, “application_url”, “auth”, “name”, “webhooks”],

“cmd_deploy_config_modules_added”: [“handle”, “pos”],

“cmd_deploy_confirm_new_registrations”: 1,

“cmd_all_timing_network_ms”: 7043,

“cmd_all_last_graphql_request_id”: “ca65ced3-b7c5-44b9-ba34-10f4d4ef82c4-1763070943”,

“cmd_all_exit”: “expected_error”

}

```

## Steps to Reproduce

1. Create a Shopify app with a discount function extension

2. Configure `shopify.app.toml` with required settings

3. Run `shopify app deploy --force`

4. Observe error during “Releasing an app version” phase

## Expected Behavior

The app version should be created and released successfully, as it was working previously (last successful deployment: November 5, 2025).

## Actual Behavior

The deployment fails with an internal server error from the App Management GraphQL API.

## Workarounds Attempted

- :white_check_mark: Using `shopify app release --version=“existing-version” --force` (works for existing versions)

- :cross_mark: Using `–no-release` flag (still fails)

- :cross_mark: Deploying without config changes (still fails)

- :cross_mark: Using different API versions (still fails)

- :cross_mark: Waiting and retrying (error persists)

## Impact

- **Severity**: High

- **Blocking**: Cannot deploy new app versions or update configurations

- **Users Affected**: Development team unable to proceed with app development

## Additional Context

- The discount function itself builds and compiles successfully every time

- The error only occurs during the API call to release the version

- Previous deployment (Nov 5) was successful with same configuration

- No changes to Shopify account or app permissions

## Request for Help

1. Is this a known issue with the Shopify App Management GraphQL API?

2. Are there any current service disruptions?

3. Is there an alternative method to deploy app versions?

4. Can the Shopify team investigate the request IDs provided?

## System Information

```

CLI Version: 3.87.3

Node: 24.11.0

OS: darwin arm64

Package Manager: npm (with workspaces)

Auth Method: device_auth

Cloud: localhost

Is Employee: false

```

-–

**Please advise on next steps or timeline for resolution. Thank you!**

Hi there!

Our logs are indicating an issue with api_type.

Can you try updating the API version of your Function and ensure the shopify.extension.toml is configured correctly based on this doc:

Let me know if that doesn’t resolve the issue!

1 Like