Hi <@U01NZ4D0LDD> <@U01PL2YSG8L> Error: e: Request...
# community-help
s
Hi @Jason Bosco @Kishore Nallan Error: e: Request failed with HTTP code 400 | Server said: Field
rating
has been declared as a default sorting field, but is not found in the documents already present in the collection. If you still want to add this field, set it as
optional: true
. It seems an error throws when I update the scheme in the collection Note: This schema update working fine stage environment but the production environment throws above mentioned error response
k
Please email contact@typesense.org with the cluster ID and the collection you are trying this on.
s
I have sent the email, need to deploy a live build so please do the needful earliest
k
I'm in a couple of calls, and this requires us to investigate what's happening so won't be able to get to this until a bit later.
If you are blocked and need to deploy a build you can create a new collection with the updated schema and sync your data
s
OK @Kishore Nallan but we are using existing collection only not the new collection