midway icon indicating copy to clipboard operation
midway copied to clipboard

Can't sync products to Sanity studio

Open gmzbri opened this issue 3 years ago • 0 comments

Hello, I'm trying to fetch the products from Shopify to the Sanity studio but I get this error when navigating to https:/[my-site]/netlify.app/.netlify/functions/shopify-sync

_{"errorType":"Error","errorMessage":"Configuration must contain projectId","trace":["Error: Configuration must contain projectId"," at t.initConfig (/var/task/functions/shopify-sync.js:20:11814)"," at b.config (/var/task/functions/shopify-sync.js:6:99182)"," at new b (/var/task/functions/shopify-sync.js:6:98700)"," at b (/var/task/functions/shopify-sync.js:6:98683)"," at Module. (/var/task/functions/shopify-sync.js:20:77342)"," at r (/var/task/functions/shopify-sync.js:1:158)"," at /var/task/functions/shopify-sync.js:1:957"," at Object. (/var/task/functions/shopify-sync.js:1:968)"," at Module._compile (internal/modules/cjs/loader.js:999:30)"," at Object.Module.extensions..js (internal/modules/cjs/loader.js:1027:10)"]}

Is this necessarily related with the info I set in the .env file or they might be something else going on?

Thanks in advance!

gmzbri avatar Sep 15 '21 00:09 gmzbri