📣 The forum has moved to GitHub
We’ve switched to GitHub Discussions as the hub for our community. This will improve the experience of collaborating for everyone, sharing what you’re working on, and discussing ideas for how Swell can be improved. Existing threads will remain open, but new posts are disabled.Go to GitHub →
Not getting category_index property in the products list on frontend
I am fetching the products list by using swell front-end APIs - https://developers.swell.is/frontend-api/products
In the developer console, I checked that product model contains a category_index key which contains a list of category ids. I was getting this field earlier, but since yesterday, the frontend-API has been returning my error saying that I don't have permission to expand this field.
I'm attaching console error log and my code that I've been using below.