There are 3 different types of scopes available for a vConnect service, details about them is mentioned in below link:
In your case, it seems you are trying to call a service without a user session or using a service which is using java code.
So, you will have to change the scope of that service in vConnect from “User level session” to “Device level session” or “Without session” if there is no session being managed.