{"record":{"id":"7924f91cee42874b","repo":"jitsi/jitsi-meet","slug":"password-not-supported","errorCode":"PASSWORD_NOT_SUPPORTED","errorMessage":"room passwords not supported","messagePattern":"room passwords not supported","errorType":"console","errorClass":"JitsiConferenceErrors","httpStatus":null,"severity":"warning","filePath":"react/features/room-lock/middleware.ts","lineNumber":134,"sourceCode":" * @param {Store} store - The redux store in which the specified action is being\n * dispatched.\n * @param {Dispatch} next - The redux {@code dispatch} function to dispatch the\n * specified action to the specified store.\n * @param {Action} action - The redux action {@code SET_PASSWORD_ERROR} which\n * has the error type that should be handled.\n * @private\n * @returns {*}\n */\nfunction _setPasswordFailed(store: IStore, next: Function, action: AnyAction) {\n    if (typeof APP !== 'undefined') {\n        // TODO Remove this logic when displaying of error messages on web is\n        // handled through react/redux.\n        const { error } = action;\n        let descriptionKey;\n        let titleKey;\n\n        if (error === JitsiConferenceErrors.PASSWORD_NOT_SUPPORTED) {\n            logger.warn('room passwords not supported');\n            descriptionKey = 'dialog.passwordNotSupported';\n            titleKey = 'dialog.passwordNotSupportedTitle';\n        } else {\n            logger.warn('setting password failed', error);\n            descriptionKey = 'dialog.lockMessage';\n            titleKey = 'dialog.lockTitle';\n        }\n        APP.store.dispatch(showErrorNotification({\n            descriptionKey,\n            titleKey\n        }));\n    }\n\n    return next(action);\n}\n","sourceCodeStart":116,"sourceCodeEnd":150,"githubUrl":"https://github.com/jitsi/jitsi-meet/blob/98de6219cc7ddbe07ace9fde045aff90a242ba01/react/features/room-lock/middleware.ts#L116-L150","documentation":"The room-lock middleware maps a lib-jitsi-meet conference error, JitsiConferenceErrors.PASSWORD_NOT_SUPPORTED, to a user-facing 'password not supported' dialog. It means the backend (Jitsi Meet deployment / prosody room configuration) does not allow password-protecting the room, so the client's setPassword call failed with this specific error code. It is expected behavior on deployments where room locking is disabled server-side.","triggerScenarios":"Dispatching setPassword / clicking 'Add password' in the security dialog while connected to a deployment whose prosody muc config has room locking disabled (muc_room_locking = false), or a JaaS/managed deployment where passwords are not enabled. Also triggered when a moderator attempts to lock a breakout or specialized room type that rejects passwords.","commonSituations":"Self-hosted prosody with 'muc_room_locking = false; muc_room_default_lock = false' in the VirtualHost config, JaaS deployments without the password feature flag, or version mismatches where the server config no longer permits locking.","solutions":["Enable room locking server-side: set muc_room_locking = true (and allow muc_room_default_lock) in the prosody MUC component config and restart prosody.","If on a managed deployment (e.g., JaaS), check the feature flags / deployment settings for room locking support.","If passwords are intentionally unsupported, disable the lock UI client-side (hide the security dialog password section) so users cannot trigger the error."],"exampleFix":"-- prosody config before\nmuc_room_locking = false\n\n-- prosody config after\nmuc_room_locking = true","handlingStrategy":"validation","validationCode":"if (isModerator(state) && conference && serverSupportsRoomLock()) {\n    dispatch(setPassword(conference, undefined, password));\n}","typeGuard":"null","tryCatchPattern":"null","preventionTips":["Confirm prosody muc_room_locking is enabled before exposing the lock UI.","Gate the password dialog on isModerator(state).","On managed deployments, verify the feature flag for room locking before enabling the security dialog."],"tags":["room-lock","password","prosody","server-config"],"backgroundTag":"feature-not-supported-by-server","analyzedSha":"98de6219cc7ddbe07ace9fde045aff90a242ba01","analyzedAt":"2026-08-28T15:15:59.482Z","schemaVersion":2},"datasetVersion":"2026-08-28T16:17:29.566Z"}