Skip to content

Can't sync products to Sanity studio #40

@gmzbri

Description

@gmzbri

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!

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