in src/objectStorageService/s3DataService.ts [49:56]
private assertValidTenancyMode(tenantId?: string) {
if (this.enableMultiTenancy && tenantId === undefined) {
throw new Error('This instance has multi-tenancy enabled, but the incoming request is missing tenantId');
}
if (!this.enableMultiTenancy && tenantId !== undefined) {
throw new Error('This instance has multi-tenancy disabled, but the incoming request has a tenantId');
}
}