Problem with Update Query using Typesense NPM Package
TLDR SGM encountered an error with an update query using typesense npm package. Jason confirmed the issue was resolved in version
Oct 13, 2023 (1 month ago)
I'm using the typesense npm package and following the documentation, but I get an error:
RequestMalformed: Request failed with HTTP code 400 | Server said: For update, the id key must be provided.This is probably because the documentation species to use .documents() without anything in the parenthesis....
Did I misunderstand this?
Indexed 3011 threads (79% resolved)
Troubleshooting Typesense Document Update Error
Mehdi had an issue with updating Typesense documents which returned a '404 Not Found' error. Kishore Nallan after several debugging steps, discovered Mehdi was using an outdated Typesense version. The issue was resolved after upgrading Typesense.
Fixing Corrupted Documents and Upgrading Typesense Cloud Version
gab had issues with corrupted documents in Typesense Cloud. Jason suggested upgrading to version 0.24.1.rc, which resolved the issue. They also discussed CORS domain management.
Adding and Updating Collections in Typesense Server
sonu asked about methods to add and update collections in a Typesense server. Jason advised that documents can be added individually or in bulk, and updates can be batched using the import function, even with a small React app with a MySQL database.