I’m trying to invoke a controller but I get an error message:

Before invoking this method, I executed the login call and was correctly authenticated.

Also, I registered the controller in the application.properties file:

Here’s my controller:

Would you know why I’m getting this error message?
Thanks.