Feishu `im/v1/files` 上传接口调用失败,返回 `234001 Invalid request param`。
Feishu im/v1/files 上传接口调用失败,返回 234001 Invalid request param。
data 字段错误地使用了 file_length,正确字段名是 file_type。
data = {'file_type': 'opus', 'file_name': 'voice.ogg'} # 错误:file_lengthfiles = {'file': ('voice.ogg', io.BytesIO(data), 'audio/ogg')}
data = {'file_type': 'opus', 'file_name': 'voice.ogg'} # 正确grep -i feishu lessons/contrib/feishu-*.md 2>/dev/null | wc -l
echo Feishu verifiedExpected Output:
# (count)
Feishu verified飞书 API 字段名严格按文档来,不要猜测近似名称。