Either environment or basePath must be given, so no call goes to an environment by accident.
environment
basePath
Either
environmentorbasePathmust be given, so no call goes to an environment by accident.