Skip to content

Invalid password. Please generate a new password from the Theme Access app #93

Description

@cdennington

My store is password protected, which I think is related to the issue I am having.

I get the following error when I run my CI/CD pipeline:

Image

I have set the access_token, store and password.

If I change the access_token to some random string, I get this error instead:

Image

So Im failry certain that the access_token is not the issue, likewise if I change the store, I get this:

Image

This leaves the password, I have tried setting it to the password which protects the site, the password I use to connect to the Shopify CLI locally, the access_token value, the Storefront API access token, the API key and the API secret key. But none of these values worked, and I receive the same error.

Ive confirmed that the collection_handle also exists.

My code looks like:

    name: Lighthouse
    needs: theme-check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Lighthouse
        uses: shopify/lighthouse-ci-action@v1
        with:
          access_token: ${{ secrets.SHOPIFY_ACCESS_TOKEN_DEV }}
          store: ${{ secrets.SHOPIFY_STORE_DEV }}
          password: ${{ secrets.SHOP_PASSWORD_DEV }}
          lhci_github_app_token: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
          theme_root: ./src/theme
          lhci_min_score_performance: ${{ vars.LHCI_MIN_SCORE_PERFORMANCE }}
          lhci_min_score_accessibility: ${{ vars.LHCI_MIN_SCORE_ACCESSIBILITY }}
          collection_handle: test

Am I able to run this on a store which is password protected? And if so what should the password value be?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions