Skip to main content

Hello,


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


flv01JC1ZGC75KCPGB8M9G5N5YP4S.png


Thanks


Deepak

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):


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


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!


Reply