You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
In which of these areas are you experiencing a problem?
App
Expected behavior
Expected behavior
When running shopify app dev, the command should successfully start the development server and set up the environment.
Actual behavior
Actual behavior
The command fails with a 500 Internal Server Error.
I've had this issue before but has usually been solved on the Shopify side as a more global issue. To verify this time that it does not seem to be a "global" issue, I created a blank/new project and was able to successfully start the development server by running shopify app dev. When added the --verbose flag to the fresh project and current project with the 500 error, I noticed the area that the command seems to be failing. See the output below:
2024-11-21T15:52:15.016Z: Request to https://partners.shopify.com/api/cli/graphql completed in 584 ms
With response headers:
cache-control: max-age=0, private, must-revalidate
content-type: application/json; charset=utf-8
etag: W/"307ce8c20eb717c29fecaea0a7e9e910"
server-timing: processing;dur=404, socket_queue;dur=1.888, util;dur=0.3, cfRequestDuration;dur=510.999918
x-request-id: d6eba42a-65ba-4b37-98aa-2d5c6a328ee7-1732204334
Error message:
The Partners GraphQL API responded unsuccessfully with errors:
[
{
"message": "Unexpected system error",
"extensions": {
"code": "500"
}
}
]
Request ID: d6eba42a-65ba-4b37-98aa-2d5c6a328ee7-1732204334
Additional context
The error occurs after successfully setting up the Cloudflare tunnel
The app URLs are successfully updated before the error occurs
Shopify Support has confirmed seeing the 500 response but cannot determine the source
Also receive 500 error when trying to run shopify app deploy
Already attempted:
Re-running the command
Logging out and back in
Using --reset flag
Confirming env vars are correct
Confirmed appropriate configs are linked correctly
Confirmed all scopes match Partner Dashboard
Verbose output
Based on the verbose output, fails trying to fetch extension registrations from the Partners API.
### Verbose output
shopify app dev --verbose
2024-11-21T15:52:04.278Z: Running command app dev
2024-11-21T15:52:04.281Z: Notifications to show: 0
2024-11-21T15:52:04.290Z: Reading cached app information for directory /Users/**/Projects/Shopify Apps/matchbox...
2024-11-21T15:52:04.291Z: Reading the content of file at shopify.app.local.toml...
2024-11-21T15:52:04.293Z: Reading the content of file at shopify.app.local.toml...
2024-11-21T15:52:04.294Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]
2024-11-21T15:52:04.295Z: Getting session store...
2024-11-21T15:52:04.296Z: Validating existing session against the scopes:
[
"openid",
"https://api.shopify.com/auth/shop.admin.graphql",
"https://api.shopify.com/auth/shop.admin.themes",
"https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
"https://api.shopify.com/auth/shop.storefront-renderer.devtools",
"https://api.shopify.com/auth/partners.app.cli.access",
"https://api.shopify.com/auth/destinations.readonly"
]
For applications:
{
"partnersApi": {
"scopes": []
}
}
2024-11-21T15:52:04.296Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-11-21T15:52:04.296Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
2024-11-21T15:52:04.620Z: Request to https://accounts.shopify.com/oauth/introspection completed in 323 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: application/json; charset=utf-8
- etag: W/"0192dd5b26d018924fbd8c1b4a4e0601"
- server-timing: processing;dur=30, socket_queue;dur=1.605, edge;dur=1.022, util;dur=0.05, cfRequestDuration;dur=210.000038
- x-request-id: 639353d4-8948-411a-b8d5-9b12ea1202e4-1732204324
2024-11-21T15:52:04.624Z: The identity token is valid: true
2024-11-21T15:52:04.624Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false- It's invalid in identity: false
2024-11-21T15:52:04.625Z: Verifying that the user has a Partner organization
2024-11-21T15:52:04.626Z: Confirmed partner account exists from cache
2024-11-21T15:52:04.626Z: Getting partner account info from cache
2024-11-21T15:52:04.633Z: Sending "Partners" GraphQL request:
query FindApp($apiKey: String!) {
app(apiKey: $apiKey) {
id
title
apiKey
organizationId
apiSecretKeys {
secret
}
appType
grantedScopes
applicationUrl
redirectUrlWhitelist
requestedAccessScopes
webhookApiVersion
embedded
posEmbedded
preferencesUrl
gdprWebhooks {
customerDeletionUrl
customerDataRequestUrl
shopDeletionUrl
}
appProxy {
subPath
subPathPrefix
url
}
developmentStorePreviewEnabled
disabledFlags
}
}
With variables:
{
"apiKey": "*****"
}
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
to https://partners.shopify.com/api/cli/graphql
2024-11-21T15:52:06.213Z: Request to https://partners.shopify.com/api/cli/graphql completed in 1578 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"2e0c92862c2ff2321c0fc539cf3569df"
- server-timing: processing;dur=534, socket_queue;dur=2.558, util;dur=0.5, cfRequestDuration;dur=649.999857
- x-request-id: 57bc0f19-6c36-44a1-9f64-a206c9d6d26a-1732204325
2024-11-21T15:52:06.218Z: Sending "Partners" GraphQL request:
query FindOrganization($id: ID!) {
organizations(id: $id, first: 1) {
nodes {
id
businessName
}
}
}
With variables:
{
"id": "3809606"
}
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
to https://partners.shopify.com/api/cli/graphql
2024-11-21T15:52:06.466Z: Request to https://partners.shopify.com/api/cli/graphql completed in 248 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"e6e1e28f3b2e5bcc313e18c72106ff4b"
- server-timing: processing;dur=73, socket_queue;dur=1.935, util;dur=0.3, cfRequestDuration;dur=171.000004
- x-request-id: b26d8d0b-e0bc-4e33-8f39-da3ce61ff7dd-1732204326
2024-11-21T15:52:06.472Z: Sending "Partners" GraphQL request:
query fetchSpecifications($api_key: String!) {
extensionSpecifications(apiKey: $api_key) {
name
externalName
externalIdentifier
identifier
gated
experience
options {
managementExperience
registrationLimit
}
features {
argo {
surface
}
}
validationSchema {
jsonSchema
}
}
}
With variables:
{
"api_key": "***"
}
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
to https://partners.shopify.com/api/cli/graphql
2024-11-21T15:52:07.142Z: Request to https://partners.shopify.com/api/cli/graphql completed in 669 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"13fe689d1191dc8864cfd658646d5359"
- server-timing: processing;dur=194, socket_queue;dur=7.534, util;dur=0.5, cfRequestDuration;dur=335.999966
- x-request-id: b937a53a-d7ed-4c10-94c4-b2040351a7bf-1732204326
2024-11-21T15:52:07.149Z: The following extension specifications were defined locally but not found in the remote specifications: data, payments_extension, tax_calculation
2024-11-21T15:52:07.151Z: Reading the content of file at shopify.app.staging.toml...
2024-11-21T15:52:07.151Z: Reading the content of file at shopify.app.toml...
2024-11-21T15:52:07.225Z: Reading the content of file at package.json...
2024-11-21T15:52:07.225Z: Reading the content of file at package.json...
2024-11-21T15:52:07.227Z:
Running system process:
· Command: npm prefix
· Working directory: /Users/**/Projects/Shopify Apps/matchbox
2024-11-21T15:52:07.327Z: Obtaining the dependency manager in directory /Users/**/Projects/Shopify Apps/matchbox...
2024-11-21T15:52:07.328Z:
Running system process:
· Command: shopify version
· Working directory: /Users/**/Projects/Shopify Apps/matchbox
2024-11-21T15:52:08.206Z: Reading the content of file at shopify.web.toml...
2024-11-21T15:52:08.209Z: Reading the content of file at package.json...
2024-11-21T15:52:08.209Z: Notifications to show: 0
2024-11-21T15:52:08.210Z: Reading cached app information for directory /Users/**/Projects/Shopify Apps/matchbox...
2024-11-21T15:52:08.210Z: Storing app information for directory /Users/**/Projects/Shopify Apps/matchbox:{
"appId": "eff13ed96fe994087beac83f2a236180",
"title": "Matchbox",
"directory": "/Users/**/Projects/Shopify Apps/matchbox",
"orgId": "***"
}
2024-11-21T15:52:08.220Z: Sending "Partners" GraphQL request:
query FindOrganization($orgId: ID!, $shopDomain: String) {
organizations(id: $orgId, first: 1) {
nodes {
id
businessName
stores(shopDomain: $shopDomain, first: 1, archived: false) {
nodes {
shopId
link
shopDomain
shopName
transferDisabled
convertableToPartnerTest
}
}
}
}
}
With variables:
{
"orgId": "****",
"shopDomain": "quickstart-6c746599.myshopify.com"
}
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
to https://partners.shopify.com/api/cli/graphql
2024-11-21T15:52:08.580Z: Request to https://partners.shopify.com/api/cli/graphql completed in 360 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"8fb965c09ebec0faac4f517808983934"
- server-timing: processing;dur=170, socket_queue;dur=2.239, util;dur=0.3, cfRequestDuration;dur=277.000189
- x-request-id: 72b2e035-ab42-4f6f-a552-1a3cb66ab756-1732204328
2024-11-21T15:52:08.581Z: Getting a random port...
2024-11-21T15:52:08.585Z: Random port obtained: 63710
2024-11-21T15:52:08.611Z: cloudflared already installed, skipping
2024-11-21T15:52:08.613Z:
Running system process:
· Command: /Users/**/.nvm/versions/node/v20.16.0/lib/node_modules/@shopify/cli/bin/cloudflared tunnel --url http://localhost:63710 --no-autoupdate
· Working directory: /Users/**/Projects/Shopify Apps/matchbox
2024-11-21T15:52:08.617Z: Sending "Partners" GraphQL request:
query activeAppVersion($apiKey: String!) {
app(apiKey: $apiKey) {
activeAppVersion {
appModuleVersions {
registrationId
registrationUuid
registrationTitle
type
config
specification {
identifier
name
experience
options {
managementExperience
}
}
}
}
}
}
With variables:
{
"apiKey": "*****"
}
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
to https://partners.shopify.com/api/cli/graphql
2024-11-21T15:52:08.625Z: 2024-11-21T15:52:08Z INF Thank you fortrying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee. If you intend to use Tunnelsin production you should use a pre-created named tunnel by following: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps
2024-11-21T15:52:08Z INF Requesting new quick Tunnel on trycloudflare.com...
2024-11-21T15:52:09.158Z: Request to https://partners.shopify.com/api/cli/graphql completed in 541 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"c61cddb9a761a0f1cfc597e5975b2b6c"
- server-timing: processing;dur=306, socket_queue;dur=2.396, util;dur=0.3, cfRequestDuration;dur=448.999882
- x-request-id: 23a1f973-e8f7-49ea-adb2-69abcc693939-1732204328
2024-11-21T15:52:09.162Z: Reading cached app information for directory /Users/**/Projects/Shopify Apps/matchbox...
╭─ info ───────────────────────────────────────────────────────────────────────╮
│ │
│ Using shopify.app.local.toml for default values: │
│ │
│ • Org: Matchbox │
│ • App: Matchbox │
│ • Dev store: quickstart-6c746599.myshopify.com │
│ • Update URLs: Yes │
│ │
│ You can pass `--reset` to your command to reset your app configuration. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
2024-11-21T15:52:09.204Z: Port 3457 is free
2024-11-21T15:52:09.206Z: Polling tunnel status for cloudflare (attempt 0): starting
2024-11-21T15:52:09.206Z: Getting a random port...
2024-11-21T15:52:09.207Z: Random port obtained: 63718
2024-11-21T15:52:09.708Z: Polling tunnel status for cloudflare (attempt 1): starting
2024-11-21T15:52:10.210Z: Polling tunnel status for cloudflare (attempt 2): starting
2024-11-21T15:52:10.711Z: Polling tunnel status for cloudflare (attempt 3): starting
2024-11-21T15:52:11.220Z: Polling tunnel status for cloudflare (attempt 4): starting
2024-11-21T15:52:11.724Z: Polling tunnel status for cloudflare (attempt 5): starting
2024-11-21T15:52:12.226Z: Polling tunnel status for cloudflare (attempt 6): starting
2024-11-21T15:52:12.729Z: Polling tunnel status for cloudflare (attempt 7): starting
2024-11-21T15:52:13.229Z: Polling tunnel status for cloudflare (attempt 8): starting
2024-11-21T15:52:13.346Z: 2024-11-21T15:52:13Z INF +--------------------------------------------------------------------------------------------+
2024-11-21T15:52:13Z INF | Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): |
2024-11-21T15:52:13Z INF | https://surplus-narrow-hanging-bear.trycloudflare.com |
2024-11-21T15:52:13Z INF +--------------------------------------------------------------------------------------------+
2024-11-21T15:52:13.347Z: 2024-11-21T15:52:13Z INF Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared]
2024-11-21T15:52:13Z INF Version 2024.8.2
2024-11-21T15:52:13Z INF GOOS: darwin, GOVersion: go1.22.2-devel-cf, GoArch: arm64
2024-11-21T15:52:13Z INF Settings: map[ha-connections:1 no-autoupdate:true protocol:quic url:http://localhost:63710]
2024-11-21T15:52:13.347Z: 2024-11-21T15:52:13Z INF Generated Connector ID: 8b55ddb5-a58a-4104-a6ec-ade786e3f597
2024-11-21T15:52:13.394Z: 2024-11-21T15:52:13Z INF Initial protocol quic
2024-11-21T15:52:13.394Z: 2024-11-21T15:52:13Z INF ICMP proxy will use 192.168.1.17 as sourcefor IPv4
2024-11-21T15:52:13.394Z: 2024-11-21T15:52:13Z INF ICMP proxy will use fe80::7f:c312:d4d2:9369 in zone en0 as sourcefor IPv6
2024-11-21T15:52:13.394Z: 2024-11-21T15:52:13Z INF Created ICMP proxy listening on 192.168.1.17:0
2024-11-21T15:52:13Z INF Created ICMP proxy listening on [fe80::7f:c312:d4d2:9369%en0]:0
2024-11-21T15:52:13.419Z: 2024-11-21T15:52:13Z INF Starting metrics server on 127.0.0.1:63723/metrics
2024-11-21T15:52:13.486Z: 2024-11-21T15:52:13Z ERR update check failed error="no release found"
2024-11-21T15:52:13.634Z: 2024-11-21T15:52:13Z INF Registered tunnel connection connIndex=0 connection=ecc3a371-dca3-43d1-8e32-819ac900658e event=0 ip=198.41.192.77 location=lax05 protocol=quic
2024-11-21T15:52:13.731Z: Polling tunnel status for cloudflare (attempt 9): connected
2024-11-21T15:52:13.731Z: Reading cached app information for directory /Users/**/Projects/Shopify Apps/matchbox...
2024-11-21T15:52:13.738Z: Sending "Partners" GraphQL request:
mutation appUpdate($apiKey: String!, $applicationUrl: Url!, $redirectUrlWhitelist: [Url]!, $appProxy: AppProxyInput) {
appUpdate(
input: {
apiKey: $apiKey
applicationUrl: $applicationUrl
redirectUrlWhitelist: $redirectUrlWhitelist
appProxy: $appProxy
}
) {
userErrors {
message
field
}
}
}
With variables:
{
"apiKey": "*****",
"applicationUrl": "https://surplus-narrow-hanging-bear.trycloudflare.com",
"redirectUrlWhitelist": [
"https://surplus-narrow-hanging-bear.trycloudflare.com/auth/callback",
"https://surplus-narrow-hanging-bear.trycloudflare.com/auth/shopify/callback",
"https://surplus-narrow-hanging-bear.trycloudflare.com/api/auth/callback"
]
}
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
to https://partners.shopify.com/api/cli/graphql
2024-11-21T15:52:14.413Z: Request to https://partners.shopify.com/api/cli/graphql completed in 675 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"76acb4e44b91f928c3744a856cacdd2e"
- server-timing: processing;dur=482, socket_queue;dur=2.177, util;dur=0.4, cfRequestDuration;dur=599.999905
- x-request-id: 62919c14-03db-495f-b878-58352bfe5c75-1732204333
2024-11-21T15:52:14.416Z: Reading the content of file at shopify.app.local.toml...
2024-11-21T15:52:14.422Z: Writing some content to file at shopify.app.local.toml...
2024-11-21T15:52:14.431Z: Sending "Partners" GraphQL request:
query allAppExtensionRegistrations($apiKey: String!) {
app(apiKey: $apiKey) {
extensionRegistrations {
id
uuid
title
type
draftVersion {
config
context
}
activeVersion {
config
context
}
}
configurationRegistrations {
id
uuid
title
type
draftVersion {
config
context
}
activeVersion {
config
context
}
}
dashboardManagedExtensionRegistrations {
id
uuid
title
type
activeVersion {
config
context
}
draftVersion {
config
context
}
}
}
}
With variables:
{
"apiKey": "*****"
}
With request headers:
- User-Agent: Shopify CLI; v=3.70.0
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: darwin
- Content-Type: application/json
to https://partners.shopify.com/api/cli/graphql
2024-11-21T15:52:15.016Z: Request to https://partners.shopify.com/api/cli/graphql completed in 584 ms
With response headers:
- cache-control: max-age=0, private, must-revalidate
- content-type: application/json; charset=utf-8
- etag: W/"307ce8c20eb717c29fecaea0a7e9e910"
- server-timing: processing;dur=404, socket_queue;dur=1.888, util;dur=0.3, cfRequestDuration;dur=510.999918
- x-request-id: d6eba42a-65ba-4b37-98aa-2d5c6a328ee7-1732204334
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ │
│ The Partners GraphQL API responded unsuccessfully with errors: │
│ │
│ [ │
│ { │
│ "message": "Unexpected system error", │
│ "extensions": { │
│ "code": "500" │
│ } │
│ } │
│ ] │
│ │
│ Request ID: d6eba42a-65ba-4b37-98aa-2d5c6a328ee7-1732204334 │
│ │
│ │
│ To investigate the issue, examine this stack trace: │
│ at makeRequest (Users/**/.nvm/versions/node/v20.16.0/lib/nod │
│ e_modules/@shopify/cli/dist/chunk-GDYKHT64.js:27240) │
│ at processTicksAndRejections (node:internal/process/task_queues:95) │
│ at async makeVerboseRequest (Users/**/.nvm/versions/node/v20 │
│ .16.0/lib/node_modules/@shopify/cli/dist/chunk-GDYKHT64.js:27270) │
│ at async retryAwareRequest (Users/**/.nvm/versions/node/v20. │
│ 16.0/lib/node_modules/@shopify/cli/dist/chunk-GDYKHT64.js:27346) │
│ at (Users/**/.nvm/versions/node/v20.16.0/lib/node_modules/@s │
│ hopify/cli/dist/chunk-5OP2SA7G.js:3269) │
│ at (Users/**/.nvm/versions/node/v20.16.0/lib/node_modules/@s │
│ hopify/cli/dist/chunk-PJKCWDDX.js:29947) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
2024-11-21T15:52:15.040Z:
Running system process:
· Command: npm prefix
· Working directory: /Users/**/Projects/Shopify Apps/matchbox
2024-11-21T15:52:15.146Z: Obtaining the dependency manager in directory /Users/**/Projects/Shopify Apps/matchbox...
2024-11-21T15:52:15.433Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 174 ms
With response headers:
- x-request-id: 8f29ccba-da79-4b59-b0f1-309c3abfa76d
2024-11-21T15:52:15.434Z: Analytics event sent: {
"command": "app dev",
"time_start": 1732204324279,
"time_end": 1732204335038,
"total_time": 10759,
"success": false,
"cli_version": "3.70.0",
"ruby_version": "",
"node_version": "20.16.0",
"is_employee": false,
"uname": "darwin arm64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/cli\"]",
"env_shell": "zsh",
"env_device_id": "***",
"env_cloud": "localhost",
"env_package_manager": "npm",
"env_is_global": true,
"env_auth_method": "device_auth",
"cmd_app_warning_api_key_deprecation_displayed": false,
"cmd_app_all_configs_any": true,
"cmd_app_all_configs_clients": "{\"shopify.app.local.toml\":\"eff13ed96fe994087beac83f2a236180\",\"shopify.app.staging.toml\":\"1a129c4a53d77ce25c9e81b043a6093f\",\"shopify.app.toml\":\"1a129c4a53d77ce25c9e81b043a6093f\"}",
"cmd_app_linked_config_used": true,
"cmd_app_linked_config_name": "shopify.app.local.toml",
"cmd_app_linked_config_git_tracked": true,
"cmd_app_linked_config_source": "cached",
"cmd_app_linked_config_uses_cli_managed_urls": true,
"project_type": "node",
"app_extensions_any": false,
"app_extensions_breakdown": "{}",
"app_extensions_count": 0,
"app_extensions_custom_layout": false,
"app_extensions_function_any": false,
"app_extensions_function_count": 0,
"app_extensions_theme_any": false,
"app_extensions_theme_count": 0,
"app_extensions_ui_any": false,
"app_extensions_ui_count": 0,
"app_name_hash": "***",
"app_path_hash": "***",
"app_scopes": "[\"read_customers\",\"read_discounts\",\"read_fulfillments\",\"read_inventory\",\"read_orders\",\"read_price_rules\",\"read_product_listings\",\"read_products\",\"unauthenticated_read_customers\",\"unauthenticated_write_customers\",\"write_assigned_fulfillment_orders\",\"write_customers\",\"write_discounts\",\"write_fulfillments\",\"write_inventory\",\"write_orders\",\"write_price_rules\",\"write_products\"]",
"app_web_backend_any": true,
"app_web_backend_count": 1,
"app_web_custom_layout": true,
"app_web_framework": "remix",
"app_web_frontend_any": true,
"app_web_frontend_count": 1,
"env_package_manager_workspaces": true,
"partner_id": ****,
"api_key": "****",
"cmd_app_reset_used": false,
"store_fqdn_hash": "***",
"cmd_all_timing_network_ms": 4984,
"cmd_all_timing_prompts_ms": 0,
"cmd_all_launcher": "unknown",
"cmd_all_topic": "app",
"cmd_all_plugin": "@shopify/app",
"cmd_all_verbose": true,
"cmd_all_path_override": true,
"cmd_all_path_override_hash": "***",
"cmd_app_dependency_installation_skipped": false,
"cmd_dev_tunnel_type": "cloudflare",
"cmd_all_last_graphql_request_id": "62919c14-03db-495f-b878-58352bfe5c75-1732204333",
"cmd_all_timing_active_ms": 5774,
"cmd_all_exit": "unexpected_error",
"user_id": "***",
"args": "--verbose",
"error_message": "\nThe Partners GraphQL API responded unsuccessfully with errors:\n\n\u001b[33m[\n {\n \u001b[0m\u001b[37m\"message\":\u001b[33m \u001b[0m\u001b[32m\"Unexpected system error\"\u001b[33m,\n \u001b[0m\u001b[37m\"extensions\":\u001b[33m {\n \u001b[0m\u001b[37m\"code\":\u001b[33m \u001b[0m\u001b[32m\"500\"\u001b[33m\n }\n }\n]\u001b[0m\n \nRequest ID: d6eba42a-65ba-4b37-98aa-2d5c6a328ee7-1732204334\n",
"app_name": "matchbox",
"store_fqdn": "quickstart-6c746599.myshopify.com",
"env_plugin_installed_all": "[\"@shopify/cli\"]",
"metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-11-21T15:52:15.447Z: Reporting unhandled error to Bugsnag:
The Partners GraphQL API responded unsuccessfully with errors:
[
{
"message": "Unexpected system error",
"extensions": {
"code": "500"
}
}
]
Request ID: d6eba42a-65ba-4b37-98aa-2d5c6a328ee7-1732204334
2024-11-21T15:52:15.505Z:
Running system process:
· Command: npm prefix
· Working directory: /Users/***/Projects/Shopify Apps/matchbox
2024-11-21T15:52:15.608Z: Obtaining the dependency manager in directory /Users/***/Projects/Shopify Apps/matchbox...
Reproduction steps
Run shopify app dev --verbose
Command successfully sets up tunnel and updates app URLs
Fails when trying to fetch extension registrations
Operating System
Operating System: Mac OS Monterey
Shopify CLI version (check your project's package.json if you're not sure)
3.70.0
Shell
zsh
Node version (run node -v if you're not sure)
20.16.0
What language and version are you using in your application?
Node.js 20.16.0
The text was updated successfully, but these errors were encountered:
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
Expected behavior
When running
shopify app dev
, the command should successfully start the development server and set up the environment.Actual behavior
Actual behavior
The command fails with a 500 Internal Server Error.
I've had this issue before but has usually been solved on the Shopify side as a more global issue. To verify this time that it does not seem to be a "global" issue, I created a blank/new project and was able to successfully start the development server by running
shopify app dev
. When added the--verbose
flag to the fresh project and current project with the 500 error, I noticed the area that the command seems to be failing. See the output below:Additional context
shopify app deploy
--reset
flagVerbose output
Reproduction steps
shopify app dev --verbose
Operating System
Operating System: Mac OS Monterey
Shopify CLI version (check your project's
package.json
if you're not sure)3.70.0
Shell
zsh
Node version (run
node -v
if you're not sure)20.16.0
What language and version are you using in your application?
Node.js 20.16.0
The text was updated successfully, but these errors were encountered: