Hi, I get an error while I start my app to run locally. The console message is : An exception occured while running the after-startup-action. Stack trace : com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Object id: 22236523160141826, validation errors: (member: Name, message: De gebruikersnaam is al in gebruik.) at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) What can be the reason and how can sove it? Necdet
asked
Necdet Ozdemir
1 answers
0
A user is probably created in the after start-up microflow. If a user that has the same username already exists in your database, an error will be thrown. In your after startup microflow, do a retrieve from database first to see if a user with that name already exists, and skip creating another one if found.