Some users can't create reports in Jasper with the following returned:
"an error occurred on the server"
Other similar users can create them without problems with no obvious difference in the user settings that would explain this.
Release : 20.2
Component : Spectrum Core / SpectroSERVER
Creating a new user as a workaround should resolve the problem.
Another possible resolution is discussed in the following KB: