"Required parameter missing or invalid: items"

AI-generated summary

Error encountered when adding products to cart: “Required parameter missing or invalid: items” on a store using the Dawn theme, impacting customers.

  • Initial diagnosis suggests missing input or JavaScript code might be causing the cart request to lack the required “items” payload (the list of products being added).

  • Clarification provided that only one code change was made about a month ago, with a link to a prior community topic indicating the specific modification.

  • No fix or confirmed root cause yet; the issue appears tied to custom code rather than the base theme.

  • Next steps implied: review/rollback the linked code change, verify cart form inputs and JS to ensure the “items” parameter is correctly populated and sent.

Status: Unresolved and ongoing; awaiting deeper review of the custom modifications referenced by the link.

Hi, I’ve started getting this error “Required parameter missing or invalid: items” when adding to cart

My theme is Dawn and my customers are continuously facing this issue! Please help anyone.

Hi @binteamin2021 ,

This looks like your missing some input code or javascript code. Did you do some custom codes?

I only did this change to the code that too a month ago

https://community.shopify.com/topic/1554521