com.box.sdk.BoxAPIException: Error parsing private key for Box Developer Edition.

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 mekhatri1
, 1 year ago
Error parsing private key for Box Developer Edition.
via GitHub by majoely
, 1 year ago
Error parsing private key for Box Developer Edition.
via GitHub by cburnette
, 1 year ago
Error parsing private key for Box Developer Edition.
via GitHub by cheyrico2
, 1 year ago
Error parsing private key for Box Developer Edition.
via GitHub by cheyrico2
, 1 year ago
Error parsing private key for Box Developer Edition.
javax.crypto.BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:966)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:824)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:436)
at javax.crypto.Cipher.doFinal(Cipher.java:2165)
at org.bouncycastle.openssl.jcajce.PEMUtilities.crypt(Unknown Source)
at com.box.sdk.BoxDeveloperEditionAPIConnection.decryptPrivateKey(BoxDeveloperEditionAPIConnection.java:373)
at com.box.sdk.BoxDeveloperEditionAPIConnection.constructJWTAssertion(BoxDeveloperEditionAPIConnection.java:327)
at com.box.sdk.BoxDeveloperEditionAPIConnection.authenticate(BoxDeveloperEditionAPIConnection.java:237)
at com.box.sdk.BoxDeveloperEditionAPIConnection.tryRestoreUsingAccessTokenCache(BoxDeveloperEditionAPIConnection.java:305)
at com.box.sdk.BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(BoxDeveloperEditionAPIConnection.java:169)
at com.wellmanage.revport.portal.bo.CreateAppUser.main(CreateAppUser.java:47)

Users with the same issue

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

Write tip

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