Skip to main content
Question

Upgraded Box for Salesforce [Apex error] on Create Folder

  • May 23, 2025
  • 1 reply
  • 18 views

Forum|alt.badge.img

Has anyone have any explanation or idea on this error message: 

The following errors occurred:
1. Error running apex action box__CreateFolder_v2: UNKNOWN_EXCEPTION: "An Apex error occurred: System.LimitException: Can only throw this exception type from VisualForce or Aura context"
 
We are using the pre-built Apex calls in SKUID to create folders in Box. [Love those by the way!!] Only one user [System Administrator] in Salesforce and a Co-Admin in Box who receives this error. There are 12 other users who have the EXACT same Profiles in Salesforce and Box, and do not receive this error and the Create Folder works perfectly. It's so strange that just one user gets this and everyone else doesn't.  
mup01HCT674HZSZK4WP704RHHBZ16.png
 
Any direction would help. I researched as much as I could but to no avail.
Thank You,
Steven
 
 

1 reply

Forum|alt.badge.img

Hi Steven,

Welcome to Box Community and glad to help!

It shows that you're currently working with a member of our team. Please keep an eye out and we'll stay in touch. 

Thanks for posting!