Skip to main content
Question

Box Salesforce Settings

  • May 27, 2025
  • 3 replies
  • 43 views

Forum|alt.badge.img

Hello,

We are seeing that Box Salesforce Settings are automatically disconnected to Service Account and doesn't let us connect.

flv01JC1ZGC75KCPGB8M9G5N5YP4S.png

Thanks

Deepak

3 replies

Forum|alt.badge.img

We are getting below Error

An Apex error occurred: box.Toolkit.BoxApiException: Unable to use default credentials to make a callout to Box (maybe this is in a trigger, constructor, or after a DML statement):


Forum|alt.badge.img

Hi Deepak,

Welcome to Box Community!

I went ahead and opened a new ticket. A member of our team will get in touch shortly and please keep an eye on your email.

Thanks for posting! 

Best,
Ann


  • New Member
  • August 2, 2025

For anyone else that stumbles across this. The error can be thrown if you are attempting to use the toolkit after performing a DML action. Wrapping your box toolkit usage in a future method may help with this.

 

best of luck!