overleaf/overleaf · error · FeatureNotAvailableError
This feature is not enabled on your account
Error message
This feature is not enabled on your account
What it means
Branch of LinkedFilesController.handleError mapping FeatureNotAvailableError to 400: the linked-file provider/feature being used is not enabled for this user's account (e.g. feature-gated integration such as Zotero/Mendeley on unsupported plans).
Source
Thrown at services/web/app/src/Features/LinkedFiles/LinkedFilesController.mjs:248
`Your URL could not be reached (${
error.info?.status || error.cause?.info?.status
} status code). Please check it and try again.`
)
}
} else if (error instanceof InvalidUrlError) {
res.status(422)
plainTextResponse(
res,
'Your URL is not valid. Please check it and try again.'
)
} else if (error instanceof NotOriginalImporterError) {
res.status(400)
plainTextResponse(
res,
'You are not the user who originally imported this file'
)
} else if (error instanceof FeatureNotAvailableError) {
res.status(400)
plainTextResponse(res, 'This feature is not enabled on your account')
} else if (error instanceof RemoteServiceError) {
if (error.info?.statusCode === 403) {
res.status(400).json({ relink: true })
} else {
res.status(502)
plainTextResponse(res, 'The remote service produced an error')
}
} else if (error instanceof FileCannotRefreshError) {
res.status(400)
plainTextResponse(res, 'This file cannot be refreshed')
} else if (error.message === 'project_has_too_many_files') {
res.status(400)
plainTextResponse(res, 'too many files')
} else if (/\bECONNREFUSED\b/.test(error.message)) {
res.status(500)
plainTextResponse(res, 'Importing references is not currently available')
} else if (error instanceof FileTooLargeError) {View on GitHub (pinned to 28ad3b03b7)
Solutions
- Enable the feature on the account or upgrade the plan
- Use a supported linked-file provider
Defensive patterns
Strategy: type-guard
When it happens
Trigger: Thrown at services/web/app/src/Features/LinkedFiles/LinkedFilesController.mjs:248 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/b8050a03122d1035.
Report an issue: GitHub.