Invalid AES key length: 3 bytes

14 views (last 30 days)
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)

Accepted Answer

Subin Kuttappan Stellal Mary
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.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by