Skip to main content

Box Salesforce Flow: An Apex error occurred: box.Toolkit.BoxApiException: The folder was returned with a null id

  • March 5, 2024
  • 1 reply
  • 286 views
Box Salesforce Flow: An Apex error occurred: box.Toolkit.BoxApiException: The folder was returned with a null id

We are creating a folder via a flow, when we debug, we get the following error:


An Apex error occurred: box.Toolkit.BoxApiException: The folder was returned with a null id.


When we debug, it appears the folder id exists to be passed. Any advice?


image

Did this topic help you find an answer to your question?

1 reply

mike.curry
  • Known Participant
  • 11 replies
  • September 26, 2024

When I have experienced this error I always check the following:
 

  1. Make sure there is no existing folder of the same name (“Savings Blue Print”) within the parent folder ID. Duplicate folder names can sometimes cause issues similar to this.
  2. Check to make sure your Service Account user that you authenticated the Box Salesforce package with has the appropriate level of access (e.g. Edit access) on the parent folder you are trying to reference. In most cases you must explicitly click the Share button on the parent or root folder and make sure the service account has access (the account should be visible under the sharing tab within Box when you select the folder)

Hope this helps resolve your issue!

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings