[BUG] HTTP REQUEST error in expressions return 422

in n8n 1.88.0 (Self Hosted)

For some reason when i try to add this name of tag in funnelkit via httprequest

the request going error and return a 422 error code

422

Full message

422 - "{\"code\":\"already_exists\",\"message\":\"Already exists in the system\"}"

Request

{ "body": { "tags": [ "myBun Shop | Buon anno 2021 | 10% sconto fino al 02/01/21 | Coupon attivo" ] }, "headers": { "accept": "application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7" }, "method": "POST", "uri": "https://shop.mybun.it/wp-json/funnelkit-automations/tag/add", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "timeout": 300000, "encoding": null, "json": false, "useStream": true, "qs": { "api_key": "**hidden**" } }

but it seems the tag is added in the site and appear like this

myBun Shop | Buon anno 2021 | 10('myBun Shop | Buon anno 2021 | 10% sconto fino al 02/01/21 | Coupon attivo',1,'2025-04-23 11:59:58')conto fino al 02/01/21 | Coupon attivo

instead of this

myBun Shop | Buon anno 2021 | 10% sconto fino al 02/01/21 | Coupon attivo

It seems for some reason the “%” in the text of the expression result trigger same issue

1 Like

Hi,

Most of the time this is an encoding issues or has a special meaning somewhere.

try to remove the % as a test.

reg,
j.

thx, as i have write above, yes is the “%”

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.