Error: “Cannot Complete Your Request” When Using Custom Portal Theme on AAA or Gateway VServer

In case you see this error, that shows up right when you open the aaa or gateway vserver (before logging in), this is the solution:

When the “Integrated caching” feature isn’t licensed, you will just need to execute the following command:

set aaa parameter -enableStaticPageCaching NO

I tested it on Netscaler ADC 12.1 51.19 and it worked perfectly.