You may have some discount codes that are active and others that are inactive. You can easily view each list from Discount Codes >> Discount Codes >> click the Active or Inactive tab. Here, you can use the search box or filter by Group to find a specific code.
Note: "Groups" refer to discount codes created in bulk. For more information about this topic, please see this guide on how to bulk-create discount codes.