In my case, it was the sequence tables missing for the store.
var/log/exception.log
Next Zend_Db_Statement_Exception: SQLSTATE[42S02]: Base table or view
not found: 1146 Table 'xxx.sequence_order_3' doesn't exist, query was:
INSERT INTO sequence_order_3
() VALUES () in
/app/xxx/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:109
n98-magerun2.phar sales:sequence:add [store_id]
didn't work for me.
So, I had to manually create the missing sequence tables.
CREATE TABLE `sequence_order_3` (`sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`sequence_value`));
CREATE TABLE `sequence_invoice_3` (`sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`sequence_value`));
CREATE TABLE `sequence_creditmemo_3` (`sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`sequence_value`));
CREATE TABLE `sequence_shipment_3` (`sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`sequence_value`));
CREATE TABLE `sequence_rma_item_3` (`sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`sequence_value`));
And, that fixed the issue for me.