为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:webhook供外部访问的链接,post请求后,报错
相关截图(日志、错误):<div> <h3> 出错了,面板运行时发生错误! </h3> <div style="margin-bottom: 15px;margin-top: 15px;color: red;"> <h4 style="font-size: none;"> 面板运行时发生错误: 错误的字段名 </h4> </div> <pre style="height:112px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px"> REQUEST_DATE: 2024-03-02 08:46:35 VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.0.5 REMOTE_ADDR: 39.144.180.97 REQUEST_URI: POST /hook?access_key%EF%BC%9Dc5fAumSCMHk03Bqqnabde9zu84OgAzwvbIqIQfA1PWXnaMi3 REQUEST_FORM: {'version': '1'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 </pre> <pre style="height:370px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px"> Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 2126, in panel_hook get = get_input() File "/www/server/panel/BTPanel/__init__.py", line 2534, in get_input data.set(key, str(request.args.get(key, ''))) File "class/public.py", line 3735, in set raise PanelError("错误的字段名") public.PanelError: 面板运行时发生错误: 错误的字段名 </pre> <ul className="help-info-text err_project_ul" style="display:inline-block"> <li style="list-style: none;"> <b> 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误: </b> </li> <li style="list-style: none;"> 修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。 <a class="btlink repairPanel" href="javascript:;"> 尝试点击修复 </a> </li> <li style="list-style: none;"> 修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址: <a className="btlink" href="https://www.bt.cn/bbs" target="_blank"> https://www.bt.cn/bbs </a> </li> <li className="consult_project" style="list-style: none;display: none;"> 修复方案三( <span style="color:#ff7300"> 推荐 </span> ):使用微信扫描右侧二维码,联系技术客服。 </li> </ul> <div style="position: relative;margin-top: 20px;margin-right: 40px;text-align: center;font-size: 12px;display: none;" className="pull-right consult_project"> <span id="err_kefu_img" style="padding: 5px;border: 1px solid #20a53a;display: inline-block;height: 113px;"></span> <i className="wechatEnterprise" style="position: absolute;top: 44px;left: 44px;"></i> <div> 【微信客服】 </div> </div> </div>
|
|