+ Start a Discussion
Juan VaccaroJuan Vaccaro 

Dropbox for Salesforce - Package trigger error

I have installed Dropbox for Salesforce using a Business Standard account. Apparently it is working correctly and as we expected but strange Apex exceptions are occurring in one of the managed triggers. We were getting that error every 60 seconds and we can't confirm if there are issues behind the scenes because of this.

It would help us to know what this exception is about and what we can do to avoid it. Thank you in advance.

Failed to process Queueable job for class Dropbox_for_SF.HandleConvertQueue for job ID 7073f00000F75nl.

caused by: Dropbox_for_SF.DropboxClient.UserNotConnectedException: Script-thrown exception

Class.Dropbox_for_SF.DropboxClient.createHttpRequest: line 74, column 1
Class.Dropbox_for_SF.DropboxClient.httpCallout: line 99, column 1
Class.Dropbox_for_SF.DropboxClient.httpCallout: line 96, column 1
Class.Dropbox_for_SF.DropboxClient.httpCallout: line 93, column 1
Class.Dropbox_for_SF.DropboxClient: line 327, column 1
Class.Dropbox_for_SF.RootFinder.findRecordRoot: line 247, column 1
Class.Dropbox_for_SF.RootFinder.findRecordRoot: line 214, column 1
Class.Dropbox_for_SF.RootFinder.findRecordRoot: line 199, column 1
Class.Dropbox_for_SF.HandleConvertQueue.moveFiles: line 32, column 1
Class.Dropbox_for_SF.HandleConvertQueue.execute: line 13, column 1
AbhishekAbhishek (Salesforce Developers) 
Hi Juan,

You can go through the below blogs which might help you,

https://developer.salesforce.com/forums/?id=906F00000005ITLIA2

https://salesforce.stackexchange.com/questions/233636/script-thrown-exception-in-test-class-for-batch-apex-callout

And I suspect that the issue is coming from the Dropbox package only.

Try to contact the DropBox support team, which might help you.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.
Team Codekiat.comTeam Codekiat.com
Is this issue resolved?

--
Naveen K N
Elimina TreksElimina Treks
Hi Juan,

I am working on one project named as peryourhealth (http://peryourhealth.website) I have integreated dropbox with salesforce but the same kind of error i am facing. If you really got the solution kindly share with us .