Skip to main content
Question

Salesforce Integration: How to move Box Folders and create new Box Folders en masse?

  • May 22, 2025
  • 2 replies
  • 40 views

Forum|alt.badge.img

I have tried using Salesforce Workbench's Apex Execute tool to run some code to move some box folders and create a new folder structure within the moved folders but I keep getting an uninformative error "unknown asynchronous job". Or sometimes the Apex CPU time limit will be reached. I'm trying to move about 1800 folders and create 10 or so folders under each of those 1800. I have tried batching my code to only run 500, 200, 100, 10, and 1 at a time. I was able to have it run successfully for 1 record but ever since then it has failed. Any suggestions about how to move forward?

2 replies

Forum|alt.badge.img

Are you stuck with this restriction?

https://developer.box.com/reference#rate-limiting

 


Forum|alt.badge.img

Unfortunately, I'm not sure. The ambiguous nature of the error I'm getting doesn't provide any information on that but it's possible.