Unable to sync Shopify products in Sanity, serverless functions error out.
See original GitHub issueHello!
This project is great, I appreciate your work and documentation! I’m having some issues getting the Sanity product sync working. I feel like I’ve been diligent about getting the correct API keys tokens and passwords, I’ve deployed to Vercel.
I’ve tried sending a test webhook to the product-update
API route and get errors in the Vercel dashboard. I’m not sure if that would be related to the issue though.
Here’s a repo if that helps.
Any insight on how to get this working or if there’s something I’m missing in your documentation would be helpful!
Thank you!
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Sanity Connect for Shopify
Direct sync. This will synchronize all products, product variants and collections as documents to your content lake. You can check the reference below...
Read more >Sanity Connect for Shopify & Hydrogen - YouTube
Your browser can't play this video. ... " Sanity Connect for Shopify & Hydrogen: Powering storefronts” (Kap & Knut, Sanity.io Virtual Meetup).
Read more >Inventory syncing failed - Shopify Community
We have a private APP to let our vendor to do inventory syncing but never succeed. Here are some details: 1. The API...
Read more >sane-shopify - Bountysource
Describe the bug. Hello, sometimes when syncing from "Shopify" tab panel, when I have products in the draft (so, it will exist both...
Read more >ps1 cannot be loaded because running scripts is disabled on ...
Try this command in terminal(Visual Studio Code terminal or any IDE you are using) and problem will solve
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @mariussunde glad you were able to figure out what the issue was!
As for the demo products and sync’ing existing products:
I hope that helps!
Hey there @mariussunde!
It sounds like the
SHOPIFY_WEBHOOK_INTEGRITY
is not getting passed into the/api/shopify/product-update
route where it’s used here.This tells me it may not be added to your Vercel project properly. Make sure you’ve not only added your
.env
variables locally, but also on your deployed vercel instance (where the webhook is actually going to be triggering our API endpoint).Make sure you added them there and spelled everything correctly: