What is the meaning of this Invalid Schema error?

The schema seems to get created despite this error.

And these errors as well

And for completion here is the resulting Vendor schema

    {
  "title": "Vendor",
  "bsonType": "object",
  "required": [
    "_id",
    "_partitionKey",
    "tstamp",
    "isDeleted",
    "code",
    "name",
    "labelName",
    "details",
    "filter"
  ],
  "properties": {
    "_id": {
      "bsonType": "string"
    },
    "_partitionKey": {
      "bsonType": "string"
    },
    "tstamp": {
      "bsonType": "date"
    },
    "isDeleted": {
      "bsonType": "bool"
    },
    "code": {
      "bsonType": "string"
    },
    "name": {
      "bsonType": "string"
    },
    "labelName": {
      "bsonType": "string"
    },
    "details": {
      "bsonType": "string"
    },
    "filter": {
      "bsonType": "string"
    },
    "brands": {
      "bsonType": "array",
      "items": {
        "bsonType": "string"
      }
    },
    "products": {
      "bsonType": "array",
      "items": {
        "bsonType": "string"
      }
    }
  }
}

Here is another one

Hi Duncan,

Based on the error code in the first two screenshots it means they were due to invalid schema changes in the changeset.

Are you still experiencing the issue since creating this post?

If so, it would be best to raise a support ticket for this (if you haven’t already) as there are multiple errors here that would require further investigation of your specific setup.
http://cloud.mongodb.com/support

Regards
Manny

1 Like

Thanks - yes I did raise a support ticket - seems there were some issues with using the Global realm app option that caused this.

1 Like