[Bug]: <The Theme Kit Admin GraphQL API responded unsuccessfully with the HTTP status 502> #5044
Closed
2 tasks done
Labels
Type: Bug
Something isn't working
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
I am trying to execute a GitHub Action to create a new theme in my Shopify store. Below is the configuration of my action.yml file:
name: Create Release
on:
push:
tags:
- 'v*'
jobs:
create-release:
name: Create Release
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout code
uses: actions/checkout@v4
This configuration checks out the code, sets up Node and Ruby, installs Shopify CLI, pulls the theme content, installs dependencies, builds the project, and finally pushes the theme to Shopify as a release.
Actual behavior
When I make a request to:
https://theme-kit-access.shopifyapps.com/cli/admin/api/2024-10/graphql.json
to create a new theme using GitHub Actions, I encounter the following error:
The Admin GraphQL API responded unsuccessfully with the HTTP status 502.
Running shopify theme push --unpublished --theme ‘Release v2.5.3’ --verbose on my local terminal works well
This issue started occurring two days ago.
Verbose output
2024-12-05T19:31:47.084Z: Request to https://theme-kit-access.shopifyapps.com/cli/admin/api/2024-10/graphql.json completed in 14644 ms
With response headers:
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ │
│ The Admin GraphQL API responded unsuccessfully with the HTTP status 502 │
│ and errors: │
│ │
│ {} │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
2024-12-05T19:31:47.121Z:
Running system process:
· Command: npm prefix
· Working directory: /home/runner/work/shopify/shopify
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ │
│ The Admin GraphQL API responded unsuccessfully with the HTTP status 502 │
│ and errors: │
│ │
│ {} │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Reproduction steps
Operating System
ubunto 24.10
Shopify CLI version (
shopify --version
)3.71.3
Shell
No response
Node version (run
node -v
if you're not sure)No response
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: