MATLAB: Invalid AES key length: 3 bytes

Datafeed Toolboxfactsetjava

Hello, Can anyone help solve this error? I'm trying to connect factset in Matlab…
Error using createtoken (line 11)
Java exception occurred:
java.security.InvalidKeyException: Invalid AES key length: 3 bytes
at com.sun.crypto.provider.AESCipher.engineGetKeySize(AESCipher.java:372)
at javax.crypto.Cipher.passCryptoPermCheck(Cipher.java:1052)
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1010)
at javax.crypto.Cipher.implInit(Cipher.java:786)
at javax.crypto.Cipher.chooseProvider(Cipher.java:849)
at javax.crypto.Cipher.init(Cipher.java:1213)
at javax.crypto.Cipher.init(Cipher.java:1153)
at FASTFetch.encodeTicket(FASTFetch.java:118)
at FASTFetch.generateTicket(FASTFetch.java:134)
at FASTFetch.generateTokenParam(FASTFetch.java:224)
Error in makeurl (line 13)
t = createtoken(usern,serial,password,cid);
Error in factset (line 57)

Best Answer

This is not the problem with MATLAB or Datafeed Toolbox.
The issue is related to false credentials or license issues for FactSet. I suggest you to contact FactSet directly for this issue.