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

error: invalid character '<' looking for beginning of value #77

Open
lianmeng0 opened this issue Mar 16, 2023 · 1 comment
Open

error: invalid character '<' looking for beginning of value #77

lianmeng0 opened this issue Mar 16, 2023 · 1 comment

Comments

@lianmeng0
Copy link

run commands: ./bin/linux64/esm -s http://local-test-7.com:8080 -x "count_test_20230103" -y "count_test_20230101" -d http://local-test-7.com:8080 --rename="_type:type,age:myage" -u"_doc" -c 5000

error:
[03-16 15:07:40] [INF] [main.go:474,main] start data migration..
error: invalid character '<' looking for beginning of value
Scroll 2495 / 2495 [=============================================================================] 100.00% 0s
Bulk 2495 / 2495 [=============================================================================] 100.00% 0s
[03-16 15:07:40] [INF] [main.go:505,main] data migration finished

Result: There is no response, and there is no corresponding index in the cluster

@kbakdev
Copy link

kbakdev commented Sep 3, 2023

It looks like the program ran into a parsing error. The "invalid character '<' looking for beginning of value" typically points to an unexpected HTML character when expecting JSON. This might be due to the endpoint returning HTML (like a 404, 401 page) instead of expected JSON data. You might want to check the endpoints and ensure they're returning the correct data format.

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

2 participants