EasyAR Sense 3 and EasyAR Sense 4 use different license keys, you cannot use one key for both. And EasyAR Sense 3 is not available for new apps now so you need to use EasyAR Sense 4 with the new key or EasyAR Sense 3 with the old key.
P.S., when you get invalid key error, it does not always mean the key is not usable. The causes may differ in different cases.