Issue
When attempting to import a Nintex Forms or Workflow license via Central Administration > Nintex Administration > Licensing, a read banner stating ". . . license not imported because license is invalid" appears and the license fails to import.


Resolution
Ensure that your Nintex Databases are up to date.
For Nintex Workflow Databases:
-For SharePoint 2016: Navigate to Central Administration > Nintex Administration > Database Management and check if there is a link to upgrade your database.
-Alternatively, you can force a database upgrade using the following command from the SharePoint Management Shell:
NWAdmin.exe -o UpgradeDatabases
For Nintex Forms Databases, use the following two commands from the SharePoint Management Shell:
Install-NFService
Upgrade-NFService
For Nintex Workflow Databases:
-For SharePoint 2016: Navigate to Central Administration > Nintex Administration > Database Management and check if there is a link to upgrade your database.
-Alternatively, you can force a database upgrade using the following command from the SharePoint Management Shell:
NWAdmin.exe -o UpgradeDatabases
For Nintex Forms Databases, use the following two commands from the SharePoint Management Shell:
Install-NFService
Upgrade-NFService
Additional Information
If this issue occurs in SharePoint 2010 or SharePoint 2013 the troubleshooting steps would still be to ensure that the databases are updated, however, the methods to do so may differ.
Related Links
NWAdmin -o UpgradeDatabases
https://help.nintex.com/en-US/nintex2016/current/#sp2016/NWAdmin/UpgradeDatabases.htm%3FTocPath%3DAdminister%2520%7CFarm%2520administration%7CManage%2520your%2520farm%7CNWAdmin%2520Guide%7COperations%7C_____45
Install-NFService
https://help.nintex.com/en-US/sdks/sdk2013/FormSDK/Topics/SDK_NF_REF_PS_Install-NFService.htm
Upgrade-NFService
https://help.nintex.com/en-US/sdks/sdk2013/FormSDK/Topics/SDK_NF_REF_PS_Upgrade-NFService.htm
https://help.nintex.com/en-US/nintex2016/current/#sp2016/NWAdmin/UpgradeDatabases.htm%3FTocPath%3DAdminister%2520%7CFarm%2520administration%7CManage%2520your%2520farm%7CNWAdmin%2520Guide%7COperations%7C_____45
Install-NFService
https://help.nintex.com/en-US/sdks/sdk2013/FormSDK/Topics/SDK_NF_REF_PS_Install-NFService.htm
Upgrade-NFService
https://help.nintex.com/en-US/sdks/sdk2013/FormSDK/Topics/SDK_NF_REF_PS_Upgrade-NFService.htm