Sometimes a module will return an actual error that WHMCS does not recognize, and this may result in an unknown error being presented. Go to Configuration> System Logs and click on Module Log in the sidebar (prior to WHMCS 8.0, Utilities> Logs> Module Log).