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

illegal_argument_exception ? parameter [_type] [type #55

Closed
opvexe opened this issue Jun 14, 2024 · 1 comment
Closed

illegal_argument_exception ? parameter [_type] [type #55

opvexe opened this issue Jun 14, 2024 · 1 comment

Comments

@opvexe
Copy link

opvexe commented Jun 14, 2024

{"@timestamp":"2024-06-14T15:32:45.819+08:00","caller":"es/writer.go:64","content":"elastic: Error 400 (Bad Request): Action/metadata line [1] contains an unknown parameter [_type] [type=illegal_argument_exception]","level":"error"}
{"@timestamp":"2024-06-14T15:32:46.821+08:00","caller":"es/writer.go:64","content":"elastic: Error 400 (Bad Request): Action/metadata line [1] contains an unknown parameter [_type] [type=illegal_argument_exception]","level":"error"}
{"@timestamp":"2024-06-14T15:32:47.820+08:00","caller":"es/writer.go:64","content":"elastic: Error 400 (Bad Request): Action/metadata line [1] contains an unknown parameter [_type] [type=illegal_argument_exception]","level":"error"}
{"@timestamp":"2024-06-14T15:32:48.822+08:00","caller":"es/writer.go:64","content":"elastic: Error 400 (Bad Request): Action/metadata line [1] contains an unknown parameter [_type] [type=illegal_argument_exception]","level":"error"}
{"@timestamp":"2024-06-14T15:32:49.825+08:00","caller":"es/writer.go:64","content":"elastic: Error 400 (Bad Request): Action/metadata line [1] contains an unknown parameter [_type] [type=illegal_argument_exception]","level":"error"}
{"@timestamp":"2024-06-14T15:32:50.819+08:00","caller":"es/writer.go:64","content":"elastic: Error 400 (Bad Request): Action/metadata line [1] contains an unknown parameter [_type] [type=illegal_argument_exception]","level":"error"}
@vine2024
Copy link

vine2024 commented Jul 12, 2024

一摸一样的报错,排查了一下,是因为版本号比较异常的问题,代码里调用的比较方法需要带上v字符串才能正常比较,但这边调用并没有带上v字符串,只能自己改代码,要么带上v,要么自己写个比较方法

@opvexe opvexe closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants