#random

Persisting Error while Dropping Field from Collection

TLDR Atul is struggling with recurrent errors when trying to drop a field from a collection. Jason advised to open a GitHub issue documenting the problem.

Powered by Struct AI
Aug 08, 2023 (1 month ago)
Atul
Photo of md5-b28e2b6cff9ce32901c5ee87b38aecd5
Atul
03:11 PM
Hi Everyone,

I don't know why I am getting strange errors when I am trying to drop a field from my collection.
{
    "message": "Field `my_another_field` has been declared in the schema, 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`."
}

This is really strange. I am struggling since 1 hour on it. I just have to drop a field but getting this error continuously.
03:12
Atul
03:12 PM
Didn't face any issue earlier when I tried to drop/add fields.

This is definitely a new Bug/issue.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:34 PM
Could you open a GitHub issue with a set of curl commands that replicates the issue using this template:

https://gist.github.com/jasonbosco/7c3432713216c378472f13e72246f46b