Magento 2.3.x – Fix “Stock item was unable to be saved” when save products on admin


If you are getting the following error message, when trying to save an existing product, or creating a new one:

 

you have to do the following.

  • Review if you have a named “default” stock source on your admin. Under Stores > Inventory > Sources. If you don’t have this one, let’s create it.
  • If the problem persist, try running the following commands below: