overleaf/overleaf · error
group_full
group_full
Error message
group_full
What it means
Catch branch in createInvite: TeamInvitesHandler.createInvite threw with limitReached set, meaning the group subscription has no free seats for another invite; rejected with 400 code 'group_full'.
Source
Thrown at services/web/app/src/Features/Subscription/TeamInvitesController.mjs:68
}
const invitedUserData = await TeamInvitesHandler.promises.createInvite(
teamManagerId,
subscription,
email,
auditLog
)
return res.json({ user: invitedUserData })
} catch (err) {
if (err.alreadyInTeam) {
return res.status(400).json({
error: {
code: 'user_already_added',
message: req.i18n.translate('user_already_added'),
},
})
}
if (err.limitReached) {
return res.status(400).json({
error: {
code: 'group_full',
message: req.i18n.translate('group_full'),
},
})
}
}
}
/**
* @param {any} req
* @param {any} res
* @param {any} next
*/
async function viewInvite(req, res, next) {
const { token } = req.params
const sessionUser = SessionManager.getSessionUser(req.session)
const userId = sessionUser?._idView on GitHub (pinned to 28ad3b03b7)
Solutions
- Add seats to the group subscription before inviting
- Remove an unused member or pending invite to free a seat
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at services/web/app/src/Features/Subscription/TeamInvitesController.mjs:68 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of overleaf/overleaf@28ad3b03b7 (2026-09-03).
Data as JSON: /api/errors/d36f4558e2c75c51.
Report an issue: GitHub.