Unable to update license key in Confluence with the error message "The license you entered was not valid"
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
While updating a Confluence license, for example:
- From Evaluation to a newly purchased license
- From Commercial to a Developer license
Upon clicking "save", the newly entered license is not updated with the error message "The license you entered was not valid" and the details of the license still belong to the old license.
Please see the following screenshot where the problem arises after entering a newly purchased commercial license from an existing evaluation license:
Upon clicking Save, Confluence should automatically update itself to use the newly entered license.
This problem is caused by corrupted cache in Confluence.
Clear Confluence plugin cache. See the following documentation for reference: