There was a bug with generating default environment in NodeJS configuration file. The default environment was overridden to be the
PRODUCTION environment even if some other environment was chosen in the Server Configuration.
This bug has been fixed now. If you are using an API with multiple environments and encountered a problem with default environment selection before, please generate the SDK again to get the fix.