I had some other shopping cart rule and set "Stop further processing rules" to "Yes" for this rule. So that blocked another rule. I was able to resolve the issue by prioritizing both rules and setting "Stop further rule processing" to "No". Now the coupon code works fine.
source
to share