Hi Shopify Support,
I’m developing a custom app with a Shopify Function (discount) and I’m unable to run shopify app dev or shopify app deploy successfully. Both commands build the function, but then fail with an internal server error from Shopify’s GraphQL APIs.
App / Org details
-
Partner organization: Woest
-
App name: discount-app
-
Client ID: 7e5b91da67ff1b3f21f7b5a534636bbb
-
Dev store (linked in
shopify.app.discount-app.toml): course-prints-2.myshopify.com -
Target merchant store where I want to install the app later: course-prints.myshopify.com (not part of this Partner org)
Environment
-
Shopify CLI: 3.87.3
-
Node: v20.11.1 (macOS, Apple Silicon / darwin-arm64)
-
Command run from project root:
/Users/redmarwoest/discount-app
Commands and errors
1. shopify app dev
The function builds successfully:
-
“Building function size-frame-discount…”
-
“Building GraphQL types…”
-
“Bundling JS function…”
-
“Running javy…”
-
“Done!”
Then I receive:
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: 344e37f6-31bc-4c82-ae62-6e71f413d2dc-1763115958
2. shopify app deploy --force
Again, the function builds and Javy completes, but deployment fails with:
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: 5239b269-edfb-47aa-9bf5-8a466414bde8-1763116839
I previously also saw similar INTERNAL_SERVER_ERROR responses with Request IDs:
-
240a5046-c4c7-4fc2-bf0f-5567d03c9a75-1763108151 -
344e37f6-31bc-4c82-ae62-6e71f413d2dc-1763115958
Local build state
-
The function extension
size-frame-discountbuilds successfully. -
The CLI generates
extensions/size-frame-discount/dist/index.wasm,index.js, andfunction.js. -
There are no local build errors; only the GraphQL APIs reject the dev/deploy operations.
What I’m trying to do
I need to:
-
Run
shopify app devagainst course-prints-2.myshopify.com for local testing, and -
Run
shopify app deployto create a new app version so I can install the updated app on the merchant store course-prints.myshopify.com.
Both are currently blocked by INTERNAL_SERVER_ERROR responses from Shopify’s side.
Could you please investigate the above Request IDs and let me know what’s causing these App Dev / App Management GraphQL failures, or fix the app so that shopify app dev and shopify app deploy work again?
Thanks a lot!