Magento2 The stock item was unable to be saved. Please try again 2021年9月10日 作者:yang Magento2在使用api更新库存的时候,失败了出现下面情况 The stock item was unable to be saved. Please try again 更新库存后的消息 解决办法: rm -rf generated/*php bin/magento indexer:resetphp bin/magento indexer:reindexphp bin/magento cache:clean 执行完上面的命令再次更新库存。 上一篇Magento2 The consumer isn't authorized to access %resources下一篇 Magento2 Cataloginventory_Stock_Item Tables