in src/dataServices/dynamoDbDataService.ts [89:96]
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');
}
}