vholik / medusa-custom-attributes

Plugin that extends MedusaJs with custom attributes API
70 stars 17 forks source link

Error: attributes must be an object #14

Closed sashab99 closed 5 months ago

sashab99 commented 5 months ago

I keep getting the following error when trying to filter the products based on the attribute value.

{ "type": "invalid_data", "message": "attributes must be an object" }

What could be the issue here ?

[2024-01-21 17:21:02] 172.68.51.63 - - [21/Jan/2024:17:21:02 +0000] "GET /store/products?attributes[]=attr_val_01HM47KF3RJ9D46RBNSMSYVAMJ HTTP/1.1" 400 64 "-" "PostmanRuntime/7.36.1"

vholik commented 5 months ago

I can not reproduce your issue. Could you give a repoduction example or just more info? image