Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新CK到青龙时,出现错误response: {'code': 500, 'message': 'celebrate request validation failed'} #88

Closed
Eraaa opened this issue Dec 14, 2024 · 4 comments

Comments

@Eraaa
Copy link

Eraaa commented Dec 14, 2024

大佬们好。
青龙版2.10.13,第一种方式登录青龙,可以正常获取环境变量,但是更新ck时出现错误如下:response: {'code': 500, 'message': 'celebrate request validation failed'},请问大佬这个怎么解决? 有遇到的吗?

@hojihua
Copy link

hojihua commented Dec 17, 2024

你用的是容器版还是PY版的,如果是PY版的要稍改一下代码,这是青龙版本问题,

@hojihua
Copy link

hojihua commented Dec 17, 2024

mail.py的这里改一下。
filter_users_list = filter_forbidden_users(forbidden_users, ['id', 'value', 'remarks', 'name'])改成
filter_users_list = filter_forbidden_users(forbidden_users, ['_id', 'value', 'remarks', 'name'])

@Eraaa
Copy link
Author

Eraaa commented Dec 22, 2024

你用的是容器版还是PY版的,如果是PY版的要稍改一下代码,这是青龙版本问题,

首先感谢老大的回复,青龙是docker版。下面的这个代码可以更新成功ck,但是无法启用成功,还请指点。

@icepage
Copy link
Owner

icepage commented Jan 19, 2025

兼容了_id字段了,镜像也更新了

@icepage icepage closed this as completed Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants