Typesense Error: Field must be a string
TLDR Aboo encountered an error in Typesense regarding a boolean field. Kishore Nallan suggested checking the schema and made sure the field is defined as boolean.

Jun 20, 2023 (3 months ago)
Aboo
07:28 AMI am new to typesense, working on application using typesense, I am getting below error, can anyone please help on this
//Field
xxx
must be a string.// as this field is boolean, getting this error while indexingxxx: true/false
Note: not able to find documentation on this
Thanks in advance
Kishore Nallan
07:31 AMAboo
07:32 AMLet me check that once again
Aboo
08:22 AM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Troubleshooting Typesense 400 Error with Null Fields
sonu was encountering a 400 error due to null fields during Typesense indexing. Jason suggested upgrading to a recent version, removing null fields, and marking potentially null fields as `optional: true`. gab shared a similar issue and workaround.
Querying Empty Strings in Typesense Cloud - Collection Search
Loic wanted to query empty strings in Typesense, but Jason explained this needs to be done when indexing as Typesense doesn't support querying blank keys.
Querying Null and String Values in Typesense.
Andrew wondered if they could look for non-null and string values in Typesense, but Jason explained a workaround by creating a new boolean field at indexing time.