Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Parameter missing or invalid(bad_request): required parameter missing or invalid: items

Parameter missing or invalid(bad_request): required parameter missing or invalid: items

drggrd
Visitor
1 0 0

Hi,

I have encountered an issue with my website recently where, when adding some products to cart, I receive the next error: parameter missing or invalid(bad_request): required parameter missing or invalid: items

Can somebody please help?

 

The website is www.hautecuir.com

 

The product that doesn't add to cart is: 

https://hautecuir.com/collections/harnesses/products/slim-double-belt-harness

 

A product that does add to cart is:

https://hautecuir.com/collections/harnesses/products/woman-black-chest-harness

 

I have tried to duplicate or add a new product all again but that doesn't work either. 

 

Thank you in advance,

Dragos

Replies 2 (2)

Iris
Shopify Staff
826 67 110

Hi @drggrd ,

 

Thanks for reaching out. I understand this could be better, so let's look at all the options here.

 

I checked your links and can confirm that the same thing happened on my end.  Slim Double Belt Harness product yields mentioned error no matter which variant is selected. 

 

Generally, this error occurs when you don't submit a variant ID or quantity amount with your Add to Cart form.

 

There are a few possible reasons for this:

 

  • You might have badly-formed HTML in your customized template. You can check your HTML by submitting your code to the W3C Validator.
  • You might have tried hiding the default option for a product with only one variant by removing the dropdown menu or single radio button. You must replace whatever you have removed with a hidden field that will pass the variant ID of the first variant to Shopify.

 

Interestingly, if you head to collections and try the Quick Shop button, this product gets added to the cart without issues. This could indicate that the changes made to the product template may be the root of the problem here. However, it is easier to say after looking into the account and theme code.

 

25-17-2182-7408

 

We cannot look into account specifics via the Community for privacy and security reasons. However, assuming your store has enough complimentary design time left, our team may be able to look into this for you. Please reach out to our Contact Us page. 

 

Otherwise, if you are using a paid third-party theme, feel free to contact the theme developer to see if they can complete this customization for you. Also, you can post a job on the Shopify Experts Page and see what feedback and quotes you get.

 

Finally, as Black Friday and Cyber Monday are approaching, I believe never is too late to get ready, so you will find some super helpful tips in this article -  12 Essential Tips to Get Your Site and App Ready for Black Friday/Cyber Monday. Also, this Shopify blog post with Black Friday Checklist: 27 Tips to Prepare for BFCM is a very interesting read. Let me know what you think.

Iris | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

LenaScott
Visitor
1 0 0

im facing the same issue here:
Leather Harness
Leather Sex Sling
have you resolved it?