Why did some discount codes fail to import?
Discount codes will only fail to import if there's an existing discount code in Shopify with the same code. Shopify does not allow duplicate codes, even if one of them is expired.
In order to reuse a discount code, you can either manually modify the details of the discount code in the Shopify admin, or delete it and import the code through the Bulk Discount Generator app.