Describe the bug 🐛
I was just playing around with the Getting Started with Flutter Helper Documentation, and when I started to use my own index it's been giving me Response ({"status":422,"message":"No events to process"}). What I understood was that there is something wrong with the response. I kept trying to backtrack doing the steps in the documentation over and over again to find exactly what this exception means. The first issue I have is that after following section 1 and 2, if you type a couple of characters in the searchbar and when the hits reaches 0 it throws an exception with the same 422 error. My guess is it doesn't know how to handle when there is no data in the response?
At the bottom of the documentation is a final version of the code, copied and pasted that to try to see if the same thing happens and it does, also I had to remove filtering as Facet type is not found or defined. This is not the main issue that I have but I feel like it could be related to the issue I was having when I replaced the mock data with my own index as it was giving the same response error.
Describe the bug 🐛
I was just playing around with the Getting Started with Flutter Helper Documentation, and when I started to use my own index it's been giving me
Response ({"status":422,"message":"No events to process"})
. What I understood was that there is something wrong with the response. I kept trying to backtrack doing the steps in the documentation over and over again to find exactly what this exception means. The first issue I have is that after following section 1 and 2, if you type a couple of characters in the searchbar and when the hits reaches 0 it throws an exception with the same 422 error. My guess is it doesn't know how to handle when there is no data in the response?At the bottom of the documentation is a final version of the code, copied and pasted that to try to see if the same thing happens and it does, also I had to remove filtering as Facet type is not found or defined. This is not the main issue that I have but I feel like it could be related to the issue I was having when I replaced the mock data with my own index as it was giving the same response error.
To Reproduce 🔍
https://www.algolia.com/doc/guides/building-search-ui/getting-started/flutter/
The exact code that you'd get after following the documentation from 1 to 2
Stack
Environment: