Store-api gives 500 error when using price filter example in 6.4

Summary

This text will be hidden

Hello,

I am trying to filter my search result based on a price range as described in the filters reference documentation using te store-api with Shopware 6.4.

The documentation gives this body as an example:

The response throws a 500 error saying:

    {
        "errors": [
            {
                "status": "500",
                "code": "FRAMEWORK__ACCESSOR_NOT_ALLOWED",
                "title": "Internal Server Error",
                "detail": "Accessor product.price is not allowed in this api scope",
                "meta": {
                    "parameters": {
                        "accessor": "product.price"
                    }
                }
            }
        ]
    }

is there possibly another way to filter product based on price?

Thanks in advance!

2 „Gefällt mir“

Have you got any solution for this?