{"record":{"id":"50dc15c692f08e0c","repo":"qishibo/AnotherRedisDesktopManager","slug":"this-t-message-key-type-not-support","errorCode":null,"errorMessage":"this.$t('message.key_type_not_support')","messagePattern":"this\\.\\$t\\('message\\.key_type_not_support'\\)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"src/components/KeyDetail.vue","lineNumber":87,"sourceCode":"        hash: 'KeyContentHash',\n        zset: 'KeyContentZset',\n        set: 'KeyContentSet',\n        list: 'KeyContentList',\n        stream: 'KeyContentStream',\n        array: 'KeyContentArray',\n        vectorset: 'KeyContentVector',\n        'TSDB-TYPE': 'KeyContentTimeSeries',\n        'ReJSON-RL': 'KeyContentReJson',\n        json: 'KeyContentReJson', // upstash\n        'tair-json': 'KeyContentReJson', // tair\n      };\n\n      if (map[keyType]) {\n        return map[keyType];\n      }\n      // type not support, such as bf\n\n      this.$message.error(this.$t('message.key_type_not_support'));\n      return '';\n    },\n    refreshContent() {\n      this.client.exists(this.redisKey).then((reply) => {\n        if (reply == 0) {\n          // clear interval if auto refresh opened\n          // this.$refs.keyHeader.removeInterval();\n          return this.$message.error({\n            message: this.$t('message.key_not_exists'),\n            duration: 1000,\n          });\n        }\n\n        this.$refs.keyContent && this.$refs.keyContent.initShow();\n      }).catch((e) => {\n        this.$message.error(`Exists Error: ${e.message}`);\n      });\n    },","sourceCodeStart":69,"sourceCodeEnd":105,"githubUrl":"https://github.com/qishibo/AnotherRedisDesktopManager/blob/c149855106628babcdfb7675a8e7ba9434d2492a/src/components/KeyDetail.vue#L69-L105","documentation":"KeyDetail.contentComponent maps known TYPE replies (string/hash/list/set/zset/stream, ReJSON-RL/json/tair-json, TSDB-TYPE, vectorset, ...) to viewer components; any other TYPE falls through to this toast and returns '' so no content component renders. 'Not support' almost always means a Redis module type the app has no viewer for - the code comment names 'bf' (RedisBloom).","triggerScenarios":"Clicking a key whose TYPE reply is absent from the map: 'bf'/'cf' (RedisBloom), 'topk', 'tdigest', or a third-party module type. contentComponent() toasts and returns an empty string, leaving the detail pane blank.","commonSituations":"Redis Stack or modules (RedisBloom, RediSearch, RedisGraph) installed; proprietary modules (Tair, etc.); new module types introduced by a server upgrade before the app adds a viewer.","solutions":["Operate on the key from the CLI tab with the module's own commands (BF.INFO key, BF.EXISTS key item)","Add an entry to the map plus a viewer component for the type, following the 'tair-json' pattern in the same object","Check for an app update that ships support for the type","Filter the key out of the tree if it is not one you manage"],"exampleFix":"// before\nconst map = {\n  string: 'KeyContentString',\n  // ...\n};\n\n// after - register a viewer for the module type\nconst map = {\n  string: 'KeyContentString',\n  // ...\n  bf: 'KeyContentBf', // RedisBloom - implement or import the component\n};","handlingStrategy":"type-guard","validationCode":null,"typeGuard":"// mirror the viewer map before routing a key to a content component\nconst SUPPORTED_KEY_TYPES = new Set([\n  'string', 'hash', 'list', 'set', 'zset', 'stream',\n  'ReJSON-RL', 'json', 'tair-json', 'TSDB-TYPE', 'vectorset',\n]);\n\nfunction isSupportedKeyType(type) {\n  return SUPPORTED_KEY_TYPES.has(type);\n}\n\n// usage\nconst type = await client.type(key);\nif (!isSupportedKeyType(type)) {\n  openCliFallback(key, type); // instead of rendering a blank viewer\n}","tryCatchPattern":null,"preventionTips":["Run MODULE LIST when connecting to Redis Stack / module servers to know which types exist","Keep the type-to-viewer map in one place so adding a module type is a one-line change","Route unsupported types to the CLI rather than a dead-end blank pane"],"tags":["redis","module-types","redisbloom","viewer","ardm"],"backgroundTag":"unsupported-data-type","analyzedSha":"c149855106628babcdfb7675a8e7ba9434d2492a","analyzedAt":"2026-08-22T09:06:28.613Z","schemaVersion":2},"datasetVersion":"2026-08-22T09:17:25.309Z"}