Overview
Provides Smart Services and custom functions to integrate Appian with Box document management
Key Features & Functionality
Custom Functions
Smart Services
Please see the Box File Utilities guide included with the download for complete setup and usage instructions.
dnlanzola & arta.shala,
I am getting the same error with the BoxFileDownloadServlet. Any progress on this?
Hi, I want to create Folder in Box by using this plug-in but there is no feature for this? May I know is there any feasibility to do this?
Hi, we have upgraded the plugin from version 1.1 to 1.3 and we started having issues with the BoxFileDownloadServlet. From our logs we are getting the following error:
com.appiancorp.ap2.WrapFilter - Root cause:java.lang.NoClassDefFoundError: Could not initialize class org.apache.tika.mime.MimeTypesReader at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:71) at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:102) at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:191) at org.apache.tika.mime.MimeTypes.getDefaultMimeTypes(MimeTypes.java:155) at org.apache.tika.config.TikaConfig.getDefaultMimeTypes(TikaConfig.java:260) at org.apache.tika.config.TikaConfig.<init>(TikaConfig.java:219) at org.apache.tika.config.TikaConfig.getDefaultConfig(TikaConfig.java:330) at org.apache.tika.Tika.<init>(Tika.java:119) at com.appiancs.plugins.boxFileUtilities.servlet.BoxFileDownloadServlet.doGet(BoxFileDownloadServlet.java:144)
We are running Appian 22.1 but also encountered this issue in 21.4.
Do you have any help/ideas where to proceed from here?
Thanks!
Never mind, managed to find the the solution in another post linked below:https://community.appian.com/discussions/f/integrations/14214/problem-in-integrating-with-box-with-box-file-utilities-plugin
I'm currently working on an on prem installation that is making use of an older version of this plugin. I'm waiting to get access to the folders I need to install the latest version, but wanted to ask this question, just in case the upgrade doesn't solve the issue. I've followed all the steps in the guide, but can't seem to generate a JWT token. Based on what was sent to me in the logs, the issue is with the private key file as it's generating the following error messages:Could not reconstruct the private key: java.security.InvalidKeyException: IOException : DerInputStream.getLength(): lengthTag=70, too big.ERROR com.appiancorp.ps.plugins.boxFileUtilities.jwt.CreateJWT - Error creating JWTcom.auth0.jwt.exceptions.SignatureGenerationException: The Token's Signature couldn't be generated when signing using the Algorithm: SHA256withRSA
Is this due to using an older version of the plugin?
Hi,Assuming
that you verified your JWT token, you can now use that to generate Access token that you can use to manipulate data on the box account.
curl -X POST \ api.box.com/.../token \ -H 'Content-Type: application/x-www-form-urlencoded' \ -H 'Host: api.box.com' \ -d 'grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer&client_id=ENTER_JWT_TOKEN_HERE'
This should enable you to download the files.