Getting error: Either all variants are disabled or product not available on enabled locations

Getting error: Either all variants are disabled or product not available on enabled locations

If you are trying to publish the products on Etsy and getting this error: Either all variants are disabled or the product is not available on enabled locations, There will be two cases:
Case 1: You need to check whether all variants are disabled from the App or not. If they are disabled then you can enable them and then try to publish it again.
Case 2: The product is not present on the available location from Shopify. If this case is true then you need to choose the another location and then try to publish them again.