diff --git a/core/api/instance/instance.model.js b/core/api/instance/instance.model.js index 3a57663..ad1cbd2 100644 --- a/core/api/instance/instance.model.js +++ b/core/api/instance/instance.model.js @@ -124,7 +124,7 @@ module.exports = function InstanceModel(logger, db, redisClient, jwtService, fin // the instance doesn't exist or has been deleted if (instanceInDb === null) { - throw new ForbiddenError(); + throw new ForbiddenError(`Instance ${instance.id} doesn't exist or has been deleted.`); } const accessToken = jwtService.generateAccessTokenInstance(instanceInDb);