gatsbyjs / gatsby-starter-shopify

A Gatsby starter using the latest Shopify plugin showcasing a store with product overview, individual product pages, and a cart
https://shopify-demo.gatsbyjs.com/
BSD Zero Clause License
311 stars 137 forks source link

Problem with gatsby-source-shopify 8.2.0 #77

Open knupel opened 1 year ago

knupel commented 1 year ago

Hello I try to install de latest gatsby-source-shopify@latest to avoid the problem of installation with --legacy-peer-deps. Because if I install with --forceor --legacy Netlify cannot deploy my store and that's failed to the building phase. But the other side of the problem, it's when I install gatsby-source-shopify@8.2.0 when I run my site that's don't work and the console return :

 ERROR #gatsby-source-shopify_111000  PLUGIN

Your credentials don't have access to a resource you requested

  Error: Operation gid://shopify/BulkOperation/2288678502575 failed with ACCESS_DENIED

  - create-operations.ts:188 completedOperation
    [cafe366]/[gatsby-source-shopify]/src/create-operations.ts:188:15

  - task_queues:95 processTicksAndRejections
    node:internal/process/task_queues:95:5

  - source-from-operation.ts:62 sourceFromOperation
    [cafe366]/[gatsby-source-shopify]/src/source-from-operation.ts:62:20

  - source-nodes.ts:56 Object.sourceNodes
    [cafe366]/[gatsby-source-shopify]/src/source-nodes.ts:56:5

  - api-runner-node.js:487 runAPI
    [cafe366]/[gatsby]/src/utils/api-runner-node.js:487:16

not finished source and transform nodes - 4.277s
not finished source shopify products - 4.183s

but with gatsby-source-shopify@6.9 that work fine.

the link of the project is here https://github.com/knupel/cafe366/tree/stan

I try to be clear, I hope I am !

czpta commented 1 year ago

I am having the same issue

czpta commented 1 year ago

Btw - BulkOperation is a new permission (at least for me) which I had to enable via creating a new custom app, in the event that you used the old private apps.