Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't sync products to Sanity studio #40

Open
gmzbri opened this issue Sep 15, 2021 · 0 comments
Open

Can't sync products to Sanity studio #40

gmzbri opened this issue Sep 15, 2021 · 0 comments

Comments

@gmzbri
Copy link

gmzbri commented Sep 15, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant