Did I set up something wrong?
See original GitHub issueHey there, Sorry for the stupid issue, but I’m trying to deploy HULL through Sanity Studio, and my Shopify products won’t sync correctly. I did correctly followed the step 2, 3 and 4 (I added the variables in Vercel and not in a .env file), but when I add a product on Shopify and then sync items I got this :
store
{
"createdAt": "2022-02-10T09:48:46Z",
"id": 723xxxx,
"isDeleted": false,
"options": [
{
"_key": "Color",
"_type": "option",
"name": "Color",
"values": [
"Black",
"White",
"Green"
]
},
{
"_key": "Size",
"_type": "option",
"name": "Size",
"values": [
"Medium",
"Large",
"Slim"
]
}
],
"previewImageUrl": "https://cdn.shopify.com/s/files/1/xxxx/xxxx/xxxx/products/xxxx.png?v=xxxx",
"priceRange": {
"maxVariantPrice": 68,
"minVariantPrice": 68
},
"productType": "",
"slug": {
"_type": "slug",
"current": "test"
},
"status": "active",
"tags": "",
"title": "Test",
"updatedAt": "2022-02-10T09:48:50Z",
"variants": [
{
"_key": "a2dd95eb-43b4-4c42-b50e-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "04db40d1-7745-444b-a30d-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "090894fe-55e1-4327-82e5-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "4eddd48b-65ab-4287-832f-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "9784fc16-3781-48a6-86ea-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "9f8b1440-ba80-449a-a996-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "a10e4987-dc03-43db-970c-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "6c0565c6-2898-4e10-859d-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
},
{
"_key": "52db3a07-958a-47ff-9e70-xxxx",
"_ref": "shopifyProductVariant-xxxx",
"_type": "reference",
"_weak": true
}
]
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Something went wrong we werent able to setup your pin ...
windowshellopin #somethingwentwrong #pinnotworking"Windows hello PIN error something went wrong we werent able to setup your pin.
Read more >"Something went wrong" error when you try to start an Office app
When trying to start an Microsoft 365 app, you might get this error. Here are some things you can try to fix the...
Read more >'What Is Wrong With Me?' What to Do If You Feel This Way
Sometimes, the feeling that something is wrong with you might reflect that you simply have a very challenging set of life circumstances.
Read more >How to Fix "Something Went Wrong Try Again" Issue in ...
If you're getting the "Something went wrong. Try again" elusive error in the Google Play Store, here are some fixes you could try....
Read more >"something went wrong" while creating account on Windows 10
While creating a new user account through the Command Prompt will not actually solve the “Something went wrong” error when creating a new...
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
Ok I was setting up the permission in the ‘Admin API Integration’ instead of the ‘Storefront API integration’. Now everything is working fine!
Thanks a lot for the help, you should pin this issue “noob noob guide”! 😁
Hey there @lborruto !
Are you using the Sanity Connect app on Shopify? The data you shared looks exactly like what is sync’d when using that app.
HULL is not built to work with that. Instead, it uses it’s own custom sync methods. If you use the Sanity Connect app it sync’s the shopify data down as a
store
object forproduct
documents, which would cause you to see theunknown field found
warning within Sanity for HULL studios.