Using a setup like this:
# .github/workflows/lighthouse-ci.yml
name: Shopify Lighthouse CI
on: [push]
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lighthouse
uses: shopify/lighthouse-ci-action@v1.2.2
with:
access_token: ${{ secrets.LIGHTHOUSE_PROFILE_SHOPIFY_CLI_THEME_TOKEN }}
store: ${{ vars.LIGHTHOUSE_PROFILE_THEME_STORE }}
password: ${{ secrets.LIGHTHOUSE_PROFILE_SHOPIFY_PASSWORD }}
lhci_github_app_token: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
lhci_min_score_performance: 0.9
lhci_min_score_accessibility: 0.9
I ended up with curl: (22) The requested URL returned error: 401. Testing locally, the following using CLI worked without any issues:
shopify theme pull \
--store yomu-lighthouse-profile-shop.myshopify.com
--password shptka_***
Looking into this, the issue originated from the curl step in the entry point script that should fetch products.json with GraphQL. It just fails silently without much verbose output. So I repro'ed this locally with:
curl -sX GET \
"https://yomu-lighthouse-profile-shop.myshopify.com/admin/api/2021-04/products.json?published_status=published&limit=1" \
-H "X-Shopify-Access-Token: shptka_***"
and that also failed silently.
Is the shptka token generation borked somehow in the current Theme Access build? I was able to fetch the products.json with my own token generated from a custom app, when I configured it to have read_products access.

Using a setup like this:
I ended up with
curl: (22) The requested URL returned error: 401. Testing locally, the following using CLI worked without any issues:Looking into this, the issue originated from the curl step in the entry point script that should fetch
products.jsonwith GraphQL. It just fails silently without much verbose output. So I repro'ed this locally with:and that also failed silently.
Is the shptka token generation borked somehow in the current Theme Access build? I was able to fetch the products.json with my own token generated from a custom app, when I configured it to have read_products access.