I'm facing an issue with the Web API authentication on my setup (Ubuntu server with Tomcat 9).
I can authenticate and make API calls successfully when using a temporary session-id
obtained via the login endpoint. However, when I try to use a permanent API token (generated in the Management Console), I consistently get I consistently get error: 46 (NXSL_CLASS_NOT_FOUND)
My main question is: should authentication with permanent API tokens (Bearer Tokens) work as expected? Or for automation scripts, is the correct approach to always fetch a temporary Session-Id first?