CI Error on base Dawn Theme
ryanaker opened this issue · 3 comments
Looking to get this running on base dawn theme that I forked from your guys repo: https://github.com/Shopify/dawn before I make any changes. But based on all that I read, nothing is telling me what the issue is.
==============================
Configuring shopify CLI
Will run Lighthouse CI on https://***
==============================
Creating development theme
{"theme":{"id":122165002379,"name":"Development (5eeb4d-7f881cc08ee2)","role":"development","shop":"***","editor_url":"https://***/admin/themes/122165002379/editor","preview_url":"https://***/?preview_theme_id=122165002379"}}
==============================
Configuring Lighthouse CI
Fetching product handle
There's been an error when querying the API
curl: (22) The requested URL returned error: 403
I've had the same error recently, just make sure that your private app has access to read products scope.
And I think it would be great to add this to README.
+1 to adding a section of the README clarifying what permissions the private app needs for this action
I had this issue, had do manually define product_handle (also did collection_handle just in case) in the ci.yml file. I think this might be because this defaults to the first product, which for us is an archived product and not available to the online store sales channel.
Perhaps this behaviour could be changed to the first available product, or to the most popular product as I believe that's what the speed score on the admin themes page does.
+1 for noting the exact permissions needed as it currently suggests your Themekit permissions would be enough.