Unique constraint violation found when saving Order/Invoice/Shipment/Creditmemo

Case 1

The increment id always is 000000000

Sample screen shoot

Root cause

Check the table sales_sequence_meta, sales_sequence_profile doesn’t have data so it can not get the increment_id setting

Solution

Insert data for those tables. For example: