Skip to content

magento man

Elasticsearch BadRequest400Exception Error : main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”

I have a problem I am using Magento 4.2.4 and Elasticsearch 6 and this message appears can anyone help me to solve it. main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”}],”type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”},”status”:400} {“exception”:”[object] (Elasticsearch\Common\Exceptions\BadRequest400Exception(code: 400): {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search]… Read More »Elasticsearch BadRequest400Exception Error : main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”

in magento2 add unique key constaint on column which has already foreign key adding for vendor code

i trying to add unique key constraint to company_id column in company_credit table but i facing issue like duplicate key Syntax error or access violation: 1061 Duplicate key name ‘COMPANY_CREDIT_COMPANY_ID’, query was: ALTER TABLE company_credit ADD CONSTRAINT COMPANY_CREDIT_COMPANY_ID UNIQUE KEY… Read More »in magento2 add unique key constaint on column which has already foreign key adding for vendor code