Can you see why I’m getting the below message?
"We had an issue while trying to generate personalized coupon on STORE-NAME for campaign "SAMPLE AUTOMATION CAMPAIGN"
The codes appear to generate when I test it in Megento.
This error occurs when Remarkety tries to generate a coupon code which already exists in Magento. This can happen when the coupon code is too short.
In this campaign's case, I see that you've chosen a 4-character code, so existing codes are very likely.
1. Increasing the coupon length to 6 or 8
2. Optional: Setting up a "fallback code" so that when dynamic creation fails, the email will go out with this code instead.
For any additional questions regarding Magento's dynamic coupons, contact firstname.lastname@example.org