If you receive "Exception of type 'com.cosmolex.services.OAuthException' was thrown" error message, follow the steps below to resolve this issue:

  • Go to Setup > Apps > Turn OFF the document app that you have turned on.

  • Go back to matters page > Add the new matter again > Click Save.

  • After the matter is saved, go to Setup > Apps > and Turn the document app back on.