Code: generalException [Microsoft Office 365]

Why am I receiving Code: generalException?

Issue description

When running any Microsoft Office 365 (classic) activity, the following error is returned:

Code: generalException
Message: An error occurred sending the request.

In Studio

In Orchestrator

Resolution

The error is being thrown by Graph API and it usually has an inner error that can be expanded as below:

In Studio -> Expand the $exceptionDetails from the Locals panel

In Orchestrator

Method 1:

Go to Jobs -> click on the Job Info (i) button to expand the whole error

image.png

Method 2:

Some particular configurations might prevent the error from showing correctly in Orchestrator. You can set the following Try/Catch to throw the right error:

NOTE: On some rare circumstances there will not be any information on the inner exception. Check the troubleshooting guide below for more information.

After spotting the right error, you can search it on our knowledge articles, online or use the Microsoft Office 365 - General Troubleshooting Guide to start the troubleshooting.