NOPERM: NOPERM this user has no permissions to run the command or access one of the keys(コマンド実行またはキーアクセスの権限がない)
Redis意味
認証済みの ACL ユーザーが、実行しようとしたコマンドまたはアクセスするキーに対する権限を持っていない。Redis は ACL ルールに従って操作を拒否する。
原因
ACL ユーザーにコマンド/カテゴリの権限がない、キーパターンが許可リストにない、チャネル (pub/sub) の制限がある、またはユーザーに狭い範囲の権限しか与えられていない。
対処方法
ユーザーの権限を調べる: ACL GETUSER app_user。必要なコマンド/カテゴリとキーパターンを追加する (例: ACL SETUSER app_user +get +set ~app:*)。最小権限に従い、必要な権限のみを付与する。正しいユーザーで接続していることを確認する。
同じデータベースの他の項目
- ASKASK slot ip:port (クラスタリダイレクト)
- NOSCRIPTNOSCRIPT No matching script. Please use EVAL(一致するスクリプトがない)
- EXECABORTEXECABORT Transaction discarded because of previous errors(以前のエラーによりトランザクションを破棄)
- ERR value is not an integer or out of rangeERR value is not an integer or out of range(値が整数でないか範囲外)
- ERR value is not a valid floatERR value is not a valid float(値が有効な float ではない)
- ERR increment or decrement would overflowERR increment or decrement would overflow(増減でオーバーフローする)
- ERR max number of clients reachedERR max number of clients reached(クライアントの最大数に到達)