Hello Team,
Issue- Getting error of “undefined method for nil class” while updating the category in the sku
SS ID: --Hidden–
Issue- Getting error of “undefined method for nil class” while updating the category in the sku
Please see below the request and response:
Request Body -
“mutation {\n product Update(\n input: {\n id: "gid://shopify/Product/3934703517761",\n description Html: "
- \n
- Noticeably Easier To Control & Style Hair after using this
\n \n - Prevents Breakage And Fly aways \n
- Achieve Hair That Looks Shiny And Feels Healthy \n
- Regular use for the hair oil will achieve in long-lasting hair health results as well as promote hair growth. \n
BluMaan’s Cloud Control Hair Oil is made from a unique blend of 12 all natural oils and botanical extracts. Cloud Control will help transform dry, coarse and unruly hair into noticeably softer and more manageable hair, while cutting frizz and flyaways too.
\n- \n
- Content: 2 oz / 60 ml \n
Direction of use:
\nApply 2-4 drops or a pea sized amount to clean, damp hair and style as usual. For a deeper leave-in conditioning effect, apply a generous amount for 1-3 hours, then wash out with shampoo.
\n<iframe width=560 height=315 src=https://www.youtube.com/embed/u1j6wcjeikc frameborder=0 allow=accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture allowfullscreen=>
\nIngredients: Helianthus Annuus (Sunflower) Seed Oil, Sesamum Indicum (Sesame) Seed Oil, Cocos Nucifera (Coconut) Oil, Olea Europaea (Olive) Fruit Oil, Citrus Limon (Lemon) Peel Extract, Citrus Aurantium Bergamia (Bergamot) Fruit Oil, Linalyl Acetate, Cinnamomum Camphora (Camphor) Bark Oil, Lavandula Hybrida Oil, Lavandula Angustifolia (Lavender) Oil, Rosmarinus Officinalis (Rosemary) Leaf Oil, Arnica Montana Flower Extract
",\n variants: [{ id: "gid://shopify/ProductVariant/29441674936385"\n barcode: "696302494106",\n compareAtPrice: null,\n weight: 0.1,\n price: 33.9,\n sku: "BlumaanCloud",\n options: ["Default Title", "null", "null"]\n },],\n vendor: "Blumaan",\n title: "Blumaan Cloud Control Hair Oil",\n tags: "Above S$30, Floral, HOLD_LOW, Light Hold, M5, Natural Shine, SHINE_NATURAL, SMELL_LIKE_FLORAL",\n productType: "Hair Tonic & Treatment",\n handle: "",\n options: null,\n }\n ){\n product {\n id\n title\n descriptionHtml\n variants(first: 1){\n edges{\n node{\n id\n sku\n price\n }\n }\n }\n }\n }\n }”Response - blank response
Response Header -
{
:date => “Wed, 26 May 2021 05:24:43 GMT”,
:content_type => “text/html; charset=utf-8”,
:transfer_encoding => “chunked”,
:connection => “keep-alive”,
:x_sorting_hat_podid => “170”,
:x_sorting_hat_shopid => “7020393”,
:referrer_policy => “origin-when-cross-origin”,
:x_frame_options => “DENY”,
:x_shopid => “7020393”,
:x_shardid => “170”,
:status => “301 Moved Permanently”,
:location => “https://pomadesingapore.myshopify.com/admin/api/2020-10/graphql.json”,
:strict_transport_security => “max-age=7889238”,
:set_cookie => [
[0] “request_method=POST; path=/; SameSite=Lax”
],
:x_shopify_stage => “production”,
:content_security_policy => “default-src ‘self’ data: blob: ‘unsafe-inline’ ‘unsafe-eval’ https://* shopify-pos://; block-all-mixed-content; child-src ‘self’ https:// shopify-pos://; connect-src ‘self’ wss:// https://*; frame-ancestors ‘none’; img-src ‘self’ data: blob: https:; script-src https://cdn.shopify.com https://cdn.shopifycdn.net https://checkout.shopifycs.com https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://js.braintreegateway.com https://c.paypal.com https://maps.googleapis.com https://www.google-analytics.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com ‘self’ ‘unsafe-inline’ ‘unsafe-eval’; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=query&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fgraphql&source%5Bsection%5D=admin_api&source%5Buuid%5D=72533340-a328-4ed2-85bb-c2bc73d5c31b”,
:x_content_type_options => “nosniff”,
:x_download_options => “noopen”,
:x_permitted_cross_domain_policies => “none”,
:x_xss_protection => “1; mode=block; report=/xss-report?source%5Baction%5D=query&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fgraphql&source%5Bsection%5D=admin_api&source%5Buuid%5D=72533340-a328-4ed2-85bb-c2bc73d5c31b”,
:x_dc => “gcp-asia-southeast1,gcp-us-central1,gcp-us-central1”,
:nel => “{"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001}, {"report_to":"network-errors","max_age":2592000,"success_fraction":0.0001}”,
:report_to => “{"group":"network-errors","max_age":2592000,"endpoints":{"url":"[https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]}, {"group":"network-errors","max_age":2592000,"endpoints":{"url":"[https://monorail-edge.shopifysvc.com/v1/reports/nel/20190325/shopify"}]}”,
:x_request_id => “72533340-a328-4ed2-85bb-c2bc73d5c31b”,
:cf_cache_status => “DYNAMIC”,
:cf_request_id => “0a48baee2a000017a7c09ce000000001”,
:expect_ct => “max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"”,
:server => “cloudflare”,
:cf_ray => “65549429ddea17a7-SIN”,
:alt_svc => “h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400”
}