How can I get authorization token for MindSphere rest calls within scheduled events in MindSphere?
Solution
Scheduled events are not supported when running your app on the Mendix sandbox (Free app) environment. You have two options to use scheduled events.
The customer has two options here:
Environment variables should be set for both MindSphere CF and Licensed Mendix App. In licensed Mendix app, runtime settings should be used.
https://docs.mendix.com/developerportal/deploy/environments-details
More info can be found on https://developer.mindsphere.io/howto/howto-app-mendix-development.html#authorizing-mindsphere-rest-calls-from-within-scheduled-events
Notes