Closed seven-binoche closed 1 month ago
Similar issue from today:
2024-08-12T04:13:54.352Z: 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.65.3
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: linux
- Content-Type: application/json
2024-08-12T04:14:54.658Z: Request to https://partners.shopify.com/api/cli/graphql completed in 60302 ms
With response headers:
- content-type: text/html
- x-request-id: 5085d80b-af1f-4e96-9224-93c572d6094a-1723436034
╭─ error ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ │
│ The Partners GraphQL API responded unsuccessfully with the HTTP status 504 and errors: │
│ │
│ {} │
│ │
│ Request ID: 5085d80b-af1f-4e96-9224-93c572d6094a-1723436034 │
│ │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Most requests take long time to complete, someone here on the same network, but on a different computer and different app does not have this issue.
I can provide further info upon request.
We've fixed an issue in the allAppExtensionRegistrations
query on the back end. It will run much faster now, and these particular timeouts/504 errors should be resolved now.
To anyone who's facing a similar problem, make sure your prisma is set up correctly (mine was connected incorrectly to Supabase, thus the issue)
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
shopify app dev
should have executed correctlyActual behavior
shopify app dev
failed, with the following message:The Partners GraphQL API responded unsuccessfully with the HTTP status 504 and errors: {}
Verbose output
Reproduction steps
shopify app dev
in consoleOperating System
macOS 14.5
Shopify CLI version (check your project's
package.json
if you're not sure)3.65.1
Shell
zsh
Node version (run
node -v
if you're not sure)v22.5.1
What language and version are you using in your application?
TypeScript 5.2.2