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

message: 'Failed to parse URL from /api/2023-01/graphql.json', #4

Open
millionstack opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@millionstack
Copy link

My .env
code here " SHOPIFY_API_SECRET_KEY="6d99e3fe8fff2afe0a020288d71dc4ab"
SHOPIFY_STOREFRONT_ACCESS_TOKEN="67d5d7706b8a8329bc8ba56d695e8652"
SHOPIFY_STORE_DOMAIN="fishingshopnearme.myshopify.com""

config.json "{
"site": {
"title": "Commerceplate",
"base_url": "https://tf-commerceplate.netlify.app/",
"base_path": "/",
"trailing_slash": false,
"favicon": "/images/favicon.png",
"logo": "/images/logo.png",
"logo_darkmode": "/images/logo-darkmode.png",
"logo_width": "150",
"logo_height": "27",
"logo_text": "Commerceplate"
},

"settings": {
"search": true,
"account": true,
"sticky_header": true,
"theme_switcher": true,
"default_theme": "system",
"pagination_card": 9,
"pagination_list": 4,
"summary_length": 200,
"blog_folder": "blog"
},

"params": {
"contact_form_action": "#",
"copyright": "Designed And Developed by Zeon Studio"
},

"navigation_button": {
"enable": false,
"label": "Get Started",
"link": "https://github.com/zeon-studio/commerceplate"
},

"metadata": {
"meta_author": "Zeon Studio",
"meta_image": "/images/og-image.png",
"meta_description": "Shopify Storefront Boilerplate"
},

"shopify": {
"currencySymbol": "৳",
"currencyCode": "BDT",
"collections": {
"hero_slider": "hidden-homepage-carousel",
"featured_products": "featured-products"
}
}
}
"{
"site": {
"title": "Commerceplate",
"base_url": "https://tf-commerceplate.netlify.app/",
"base_path": "/",
"trailing_slash": false,
"favicon": "/images/favicon.png",
"logo": "/images/logo.png",
"logo_darkmode": "/images/logo-darkmode.png",
"logo_width": "150",
"logo_height": "27",
"logo_text": "Commerceplate"
},

"settings": {
"search": true,
"account": true,
"sticky_header": true,
"theme_switcher": true,
"default_theme": "system",
"pagination_card": 9,
"pagination_list": 4,
"summary_length": 200,
"blog_folder": "blog"
},

"params": {
"contact_form_action": "#",
"copyright": "Designed And Developed by Zeon Studio"
},

"navigation_button": {
"enable": false,
"label": "Get Started",
"link": "https://github.com/zeon-studio/commerceplate"
},

"metadata": {
"meta_author": "Zeon Studio",
"meta_image": "/images/og-image.png",
"meta_description": "Shopify Storefront Boilerplate"
},

"shopify": {
"currencySymbol": "৳",
"currencyCode": "BDT",
"collections": {
"hero_slider": "hidden-homepage-carousel",
"featured_products": "featured-products"
}
}
}"

Here is the error when i run the code

status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollectionProducts(\n' +
' $handle: String!\n' +
' $sortKey: ProductCollectionSortKeys\n' +
' $reverse: Boolean\n' +
' $filterCategoryProduct: [ProductFilter!]\n' +
' ) {\n' +
' collection(handle: $handle) {\n' +
' products(\n' +
' sortKey: $sortKey\n' +
' reverse: $reverse\n' +
' first: 100\n' +
' filters: $filterCategoryProduct\n' +
' ) {\n' +
' edges {\n' +
' node {\n' +
' ...product\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment product on Product {\n' +
' id\n' +
' handle\n' +
' availableForSale\n' +
' title\n' +
' description\n' +
' descriptionHtml\n' +
' options {\n' +
' id\n' +
' name\n' +
' values\n' +
' }\n' +
' priceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' minVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' compareAtPriceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' variants(first: 250) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' title\n' +
' availableForSale\n' +
' selectedOptions {\n' +
' name\n' +
' value\n' +
' }\n' +
' price {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' compareAtPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' featuredImage {\n' +
' ...image\n' +
' }\n' +
' images(first: 20) {\n' +
' edges {\n' +
' node {\n' +
' ...image\n' +
' }\n' +
' }\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' tags\n' +
' updatedAt\n' +
' vendor\n' +
' collections(first: 100) {\n' +
' nodes {\n' +
' title\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' title\n' +
' vendor\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment image on Image {\n' +
' url\n' +
' altText\n' +
' width\n' +
' height\n' +
' }\n' +
'\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollectionProducts(\n' +
' $handle: String!\n' +
' $sortKey: ProductCollectionSortKeys\n' +
' $reverse: Boolean\n' +
' $filterCategoryProduct: [ProductFilter!]\n' +
' ) {\n' +
' collection(handle: $handle) {\n' +
' products(\n' +
' sortKey: $sortKey\n' +
' reverse: $reverse\n' +
' first: 100\n' +
' filters: $filterCategoryProduct\n' +
' ) {\n' +
' edges {\n' +
' node {\n' +
' ...product\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment product on Product {\n' +
' id\n' +
' handle\n' +
' availableForSale\n' +
' title\n' +
' description\n' +
' descriptionHtml\n' +
' options {\n' +
' id\n' +
' name\n' +
' values\n' +
' }\n' +
' priceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' minVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' compareAtPriceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' variants(first: 250) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' title\n' +
' availableForSale\n' +
' selectedOptions {\n' +
' name\n' +
' value\n' +
' }\n' +
' price {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' compareAtPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' featuredImage {\n' +
' ...image\n' +
' }\n' +
' images(first: 20) {\n' +
' edges {\n' +
' node {\n' +
' ...image\n' +
' }\n' +
' }\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' tags\n' +
' updatedAt\n' +
' vendor\n' +
' collections(first: 100) {\n' +
' nodes {\n' +
' title\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' title\n' +
' vendor\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment image on Image {\n' +
' url\n' +
' altText\n' +
' width\n' +
' height\n' +
' }\n' +
'\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollections {\n' +
' collections(first: 100, sortKey: TITLE) {\n' +
' edges {\n' +
' node {\n' +
' ...collection\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment collection on Collection {\n' +
' handle\n' +
' title\n' +
' description\n' +
' image {\n' +
' altText\n' +
' url\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' updatedAt\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollectionProducts(\n' +
' $handle: String!\n' +
' $sortKey: ProductCollectionSortKeys\n' +
' $reverse: Boolean\n' +
' $filterCategoryProduct: [ProductFilter!]\n' +
' ) {\n' +
' collection(handle: $handle) {\n' +
' products(\n' +
' sortKey: $sortKey\n' +
' reverse: $reverse\n' +
' first: 100\n' +
' filters: $filterCategoryProduct\n' +
' ) {\n' +
' edges {\n' +
' node {\n' +
' ...product\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment product on Product {\n' +
' id\n' +
' handle\n' +
' availableForSale\n' +
' title\n' +
' description\n' +
' descriptionHtml\n' +
' options {\n' +
' id\n' +
' name\n' +
' values\n' +
' }\n' +
' priceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' minVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' compareAtPriceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' variants(first: 250) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' title\n' +
' availableForSale\n' +
' selectedOptions {\n' +
' name\n' +
' value\n' +
' }\n' +
' price {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' compareAtPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' featuredImage {\n' +
' ...image\n' +
' }\n' +
' images(first: 20) {\n' +
' edges {\n' +
' node {\n' +
' ...image\n' +
' }\n' +
' }\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' tags\n' +
' updatedAt\n' +
' vendor\n' +
' collections(first: 100) {\n' +
' nodes {\n' +
' title\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' title\n' +
' vendor\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment image on Image {\n' +
' url\n' +
' altText\n' +
' width\n' +
' height\n' +
' }\n' +
'\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
?[?25h

tanveer@DESKTOP-70EBVBN MINGW64 ~/Desktop/ecom/commerceplate (main)
$ ^C

tanveer@DESKTOP-70EBVBN MINGW64 ~/Desktop/ecom/commerceplate (main)
$ npm run dev

commerceplate@1.1.3 dev
next dev

▲ Next.js 14.1.0

✓ Ready in 26.5s
○ Compiling / ...
✓ Compiled / in 32.9s (1257 modules)
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollectionProducts(\n' +
' $handle: String!\n' +
' $sortKey: ProductCollectionSortKeys\n' +
' $reverse: Boolean\n' +
' $filterCategoryProduct: [ProductFilter!]\n' +
' ) {\n' +
' collection(handle: $handle) {\n' +
' products(\n' +
' sortKey: $sortKey\n' +
' reverse: $reverse\n' +
' first: 100\n' +
' filters: $filterCategoryProduct\n' +
' ) {\n' +
' edges {\n' +
' node {\n' +
' ...product\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment product on Product {\n' +
' id\n' +
' handle\n' +
' availableForSale\n' +
' title\n' +
' description\n' +
' descriptionHtml\n' +
' options {\n' +
' id\n' +
' name\n' +
' values\n' +
' }\n' +
' priceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' minVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' compareAtPriceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' variants(first: 250) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' title\n' +
' availableForSale\n' +
' selectedOptions {\n' +
' name\n' +
' value\n' +
' }\n' +
' price {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' compareAtPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' featuredImage {\n' +
' ...image\n' +
' }\n' +
' images(first: 20) {\n' +
' edges {\n' +
' node {\n' +
' ...image\n' +
' }\n' +
' }\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' tags\n' +
' updatedAt\n' +
' vendor\n' +
' collections(first: 100) {\n' +
' nodes {\n' +
' title\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' title\n' +
' vendor\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment image on Image {\n' +
' url\n' +
' altText\n' +
' width\n' +
' height\n' +
' }\n' +
'\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollections {\n' +
' collections(first: 100, sortKey: TITLE) {\n' +
' edges {\n' +
' node {\n' +
' ...collection\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment collection on Collection {\n' +
' handle\n' +
' title\n' +
' description\n' +
' image {\n' +
' altText\n' +
' url\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' updatedAt\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollectionProducts(\n' +
' $handle: String!\n' +
' $sortKey: ProductCollectionSortKeys\n' +
' $reverse: Boolean\n' +
' $filterCategoryProduct: [ProductFilter!]\n' +
' ) {\n' +
' collection(handle: $handle) {\n' +
' products(\n' +
' sortKey: $sortKey\n' +
' reverse: $reverse\n' +
' first: 100\n' +
' filters: $filterCategoryProduct\n' +
' ) {\n' +
' edges {\n' +
' node {\n' +
' ...product\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment product on Product {\n' +
' id\n' +
' handle\n' +
' availableForSale\n' +
' title\n' +
' description\n' +
' descriptionHtml\n' +
' options {\n' +
' id\n' +
' name\n' +
' values\n' +
' }\n' +
' priceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' minVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' compareAtPriceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' variants(first: 250) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' title\n' +
' availableForSale\n' +
' selectedOptions {\n' +
' name\n' +
' value\n' +
' }\n' +
' price {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' compareAtPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' featuredImage {\n' +
' ...image\n' +
' }\n' +
' images(first: 20) {\n' +
' edges {\n' +
' node {\n' +
' ...image\n' +
' }\n' +
' }\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' tags\n' +
' updatedAt\n' +
' vendor\n' +
' collections(first: 100) {\n' +
' nodes {\n' +
' title\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' title\n' +
' vendor\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment image on Image {\n' +
' url\n' +
' altText\n' +
' width\n' +
' height\n' +
' }\n' +
'\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollectionProducts(\n' +
' $handle: String!\n' +
' $sortKey: ProductCollectionSortKeys\n' +
' $reverse: Boolean\n' +
' $filterCategoryProduct: [ProductFilter!]\n' +
' ) {\n' +
' collection(handle: $handle) {\n' +
' products(\n' +
' sortKey: $sortKey\n' +
' reverse: $reverse\n' +
' first: 100\n' +
' filters: $filterCategoryProduct\n' +
' ) {\n' +
' edges {\n' +
' node {\n' +
' ...product\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment product on Product {\n' +
' id\n' +
' handle\n' +
' availableForSale\n' +
' title\n' +
' description\n' +
' descriptionHtml\n' +
' options {\n' +
' id\n' +
' name\n' +
' values\n' +
' }\n' +
' priceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' minVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' compareAtPriceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' variants(first: 250) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' title\n' +
' availableForSale\n' +
' selectedOptions {\n' +
' name\n' +
' value\n' +
' }\n' +
' price {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' compareAtPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' featuredImage {\n' +
' ...image\n' +
' }\n' +
' images(first: 20) {\n' +
' edges {\n' +
' node {\n' +
' ...image\n' +
' }\n' +
' }\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' tags\n' +
' updatedAt\n' +
' vendor\n' +
' collections(first: 100) {\n' +
' nodes {\n' +
' title\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' title\n' +
' vendor\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment image on Image {\n' +
' url\n' +
' altText\n' +
' width\n' +
' height\n' +
' }\n' +
'\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollections {\n' +
' collections(first: 100, sortKey: TITLE) {\n' +
' edges {\n' +
' node {\n' +
' ...collection\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment collection on Collection {\n' +
' handle\n' +
' title\n' +
' description\n' +
' image {\n' +
' altText\n' +
' url\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' updatedAt\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ {
cause: 'TypeError: Invalid URL',
status: 500,
message: 'Failed to parse URL from /api/2023-01/graphql.json',
query: '\n' +
' query getCollectionProducts(\n' +
' $handle: String!\n' +
' $sortKey: ProductCollectionSortKeys\n' +
' $reverse: Boolean\n' +
' $filterCategoryProduct: [ProductFilter!]\n' +
' ) {\n' +
' collection(handle: $handle) {\n' +
' products(\n' +
' sortKey: $sortKey\n' +
' reverse: $reverse\n' +
' first: 100\n' +
' filters: $filterCategoryProduct\n' +
' ) {\n' +
' edges {\n' +
' node {\n' +
' ...product\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment product on Product {\n' +
' id\n' +
' handle\n' +
' availableForSale\n' +
' title\n' +
' description\n' +
' descriptionHtml\n' +
' options {\n' +
' id\n' +
' name\n' +
' values\n' +
' }\n' +
' priceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' minVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' compareAtPriceRange {\n' +
' maxVariantPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' variants(first: 250) {\n' +
' edges {\n' +
' node {\n' +
' id\n' +
' title\n' +
' availableForSale\n' +
' selectedOptions {\n' +
' name\n' +
' value\n' +
' }\n' +
' price {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' compareAtPrice {\n' +
' amount\n' +
' currencyCode\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' featuredImage {\n' +
' ...image\n' +
' }\n' +
' images(first: 20) {\n' +
' edges {\n' +
' node {\n' +
' ...image\n' +
' }\n' +
' }\n' +
' }\n' +
' seo {\n' +
' ...seo\n' +
' }\n' +
' tags\n' +
' updatedAt\n' +
' vendor\n' +
' collections(first: 100) {\n' +
' nodes {\n' +
' title\n' +
' products(first: 100) {\n' +
' edges {\n' +
' node {\n' +
' title\n' +
' vendor\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' \n' +
' fragment image on Image {\n' +
' url\n' +
' altText\n' +
' width\n' +
' height\n' +
' }\n' +
'\n' +
' \n' +
' fragment seo on SEO {\n' +
' description\n' +
' title\n' +
' }\n' +
'\n' +
'\n'
}
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }
⨯ [Error: Error: [object Object]] { digest: '3993220912' }

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