#3355·picoclaw

[BUG]连接飞书报错-附解决方案 (config.json contains unknown field(s): channel_list.feishu.app_id)

Author: ttghubCreated Sep 1, 2026Updated Sep 11, 2026

Quick Summary

Environment & Tools

  • PicoClaw Version: picoclaw nightly-50-gbbf6893c (git: bbf6893c)
  • Go Version: go1.25.13
  • Channels: Feishu

Steps to Reproduce

{ "channel_list": { "feishu": { "enabled": true, "type": "feishu", "app_id": "cli_xxx", "app_secret": "xxx", "encrypt_key": "", "verification_token": "", "allow_from": [], "is_lark": false } } }

❌ Actual Behavior

ERR config picoclaw/pkg/config/config.go:1496 > Failed to load config: config.json contains unknown field(s): channel_list.feishu.app_id, channel_list.feishu.app_secret, channel_list.feishu.encrypt_key, channel_list.feishu.verification_token path=/home/pi/.picoclaw/config.json Error loading existing config: config.json contains unknown field(s): channel_list.feishu.app_id, channel_list.feishu.app_secret, channel_list.feishu.encrypt_key, channel_list.feishu.verification_token

✅ Expected Behavior

no errors

Additional Context

You put app_id / app_secret directly on the Feishu channel entry, but PicoClaw expects them inside a settings block. I reproduced your exact error locally:

config.json contains unknown field(s):
  channel_list.feishu.app_id,
  channel_list.feishu.app_secret,
  channel_list.feishu.encrypt_key

That's the "always reports wrong" error you saw.

Your ~/.picoclaw/config.json should have:

json
"channel_list": {
  "feishu": {
    "enabled": true,
    "type": "feishu",
    "settings": {
      "app_id": "cli_",
      "app_secret": "AppSecret",
      "encrypt_key": ""          
    }
  }
}

I also wrote a blog (https://www.cnblogs.com/atom-of-galaxy/articles/22797496).