Skip to main content

I am receiving an error when trying to create a new Box folder inside of a custom object in Salesforce. The error message is below. I am able to create Box folders on standard Salesforce objects, but not on a custom object. Does anyone know how to fix this?


I created a Visualforce page to embed Box in my Custom object, and the Box section displays as intended. It's when I go to create a new folder that I run into an issue.


Error message when clicking "Create Folder" inside of the Box section in my custom object (record ID and folder name have been replaced with ______ for the purpose of this post):


Sorry, there was an issue with processing this request.


Unable to create a box folder for this record: Unable to create folder for record id __________________ - Details: The folder ____________ was not found or has been deleted.

Hey Joshua!


It looks like you are already working with our support team. That is the best way to get your issue resolved quickly. If they don't end resolving the problem, let me know. 


Thanks, 


Alex, Box Developer Advocate


Running into the same issue here. Any chance you can share the resolution?


There was a lot of back and forth with tech support, so I'm not sure what they may have done on their end but ultimately we discovered that a Box folder ID associated with the object was wrong and it needed to be manually changed in Salesforce. 


Ah that makes sense and it solved it for me - thanks so much!


 


In case anyone needs this in the future: to see the folder reference in Salesforce you can navigate to Setup -> Custom Settings -> Folder Details. There should be a record with the Salesforce object name and the Box folder id. Edit the record so the Box Folder Id is the correct one.


If the Box folder has been deleted, you can delete the Custom Settings record and then create a folder for a record within that object (which should automatically create a new object folder). Then return to the Custom Settings & recreate the old record with the name of the record as the Salesforce object's plural form (ie custom object Application__c would get a name of "Applications")


Reply