java.lang.IllegalStateException: javax.crypto.IllegalBlockSizeException: Data must not be longer than 86 bytes

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by charliedumdum
, 1 year ago
javax.crypto.IllegalBlockSizeException: Data must not be longer than 86 bytes
javax.crypto.IllegalBlockSizeException: Data must not be longer than 86 bytes
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:344)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389)
at javax.crypto.Cipher.doFinal(Cipher.java:2165)
at svarzee.gps.gpsoauth.CipherUtil.pkcs1AoepEncode(CipherUtil.java:37)
at svarzee.gps.gpsoauth.CipherUtil.createSignature(CipherUtil.java:26)
at svarzee.gps.gpsoauth.Gpsoauth.performMasterLogin(Gpsoauth.java:57)
at svarzee.gps.gpsoauth.Gpsoauth.performMasterLoginForToken(Gpsoauth.java:103)
at svarzee.gps.gpsoauth.Gpsoauth.performMasterLoginForToken(Gpsoauth.java:90)
at com.pokegoapi.auth.GoogleAutoCredentialProvider.login(GoogleAutoCredentialProvider.java:70)
at com.pokegoapi.auth.GoogleAutoCredentialProvider.(GoogleAutoCredentialProvider.java:63)
at ink.abb.pogo.scraper.MainKt.getAuth(Main.kt:65)
at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:163)
at ink.abb.pogo.scraper.MainKt.startDefaultBot(Main.kt:145)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:57)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:46)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)

Users with the same issue

5 times, 2 months ago
Once, 3 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.