Since moving to November 2019 or later, Engine API createObject method is failing for users having an analyzer license, but works for users with a professional license.
Environment
Resolution
This is working as designed, although this hasn't been strictly enforced in older versions.
Workaround:
"CreateSessionObject" needs to be used instead to ensure it works for all users.
More details on the help site.