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

[Bug]: Error while processing the queue #911

Open
alexz707 opened this issue Nov 8, 2024 · 0 comments
Open

[Bug]: Error while processing the queue #911

alexz707 opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels

Comments

@alexz707
Copy link

alexz707 commented Nov 8, 2024

Expected behavior

Queue handling without errors

Actual behavior

Queue is processed with errors. As soon as the error occurs the processing stops.
Not sure if it is a misconfiguration or a problem with the index.

Steps to reproduce

Use exported data: datahub_simpleRest_rest_test_export.json

Execute the following commands:

bin/console datahub:simple-rest:create-or-update-mapping
bin/console datahub:simple-rest:init-index

bin/console datahub:simple-rest:process-queue

`ERR 13:17:51 WARNING [pimcore.opensearch.default] Request Failure:
[
"method" => "POST","uri" => "https://qa-opensearch:9200/enterprise_simple_rest__ci-hub-endpoint__asset/_doc/429",
"port" => 9200,
"headers" => [
"Host" => ["qa-opensearch"],
"Content-Type" => ["application/json"],
"Accept" => ["application/json"],
"User-Agent" => ["opensearch-php/2.3.1 (Linux 6.1.0-13-amd64; PHP 8.2.20)"]],
"HTTP code" => 400,
"duration" => 0.000802,
"error" => "{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Could not dynamically add mapping for field [title.en]. Existing mapping for [metaData.title] must be of type object but found [keyword]."}],"type":"mapper_parsing_exception","reason":"Could not dynamically add mapping for field [title.en]. Existing mapping for [metaData.title] must be of type object but found [keyword]."},"status":400}"]

ERR 13:17:51 WARNING [pimcore.opensearch.default] Response ["{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Could not dynamically add mapping for field [title.en]. Existing mapping for [metaData.title] must be of type object but found [keyword]."}],"type":"mapper_parsing_exception","reason":"Could not dynamically add mapping for field [title.en]. Existing mapping for [metaData.title] must be of type object but found [keyword]."},"status":400}"]

ERR 13:17:51 ERROR [pimcore_datahub_simplerest] {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Could not dynamically add mapping for field [title.en]. Existing mapping for [metaData.title] must be of type object but found [keyword]."}],"type":"mapper_parsing_exception","reason":"Could not dynamically add mapping for field [title.en]. Existing mapping for [metaData.title] must be of type object but found [keyword]."},"status":400}`

On the qa system there are still 8 entries which will raise this error and won't be removed from the queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants