Contentful logo

Contentful Community

Javascript error in Contentful UI (TypeError: e.match is not a function)

I’ve utilized the tool contentful-management to create a content type with one field which is of type “object” (JSON). All my scripts work with no errors. But when trying to view the content of this model, the UI breaks.

TypeError: e.match is not a function
    at c (app-1fb482690a5fbd8c1af6.js:1)
    at Object.s (app-1fb482690a5fbd8c1af6.js:1)
    at Module.d (app-1fb482690a5fbd8c1af6.js:1)
    at sp (app-1fb482690a5fbd8c1af6.js:1)
    at Zi (vendors~app-3b406c49ff11e9e2f5aa.js:244)
    at js (vendors~app-3b406c49ff11e9e2f5aa.js:244)
    at tc (vendors~app-3b406c49ff11e9e2f5aa.js:244)
    at Zs (vendors~app-3b406c49ff11e9e2f5aa.js:244)
    at Fs (vendors~app-3b406c49ff11e9e2f5aa.js:244)
    at vendors~app-3b406c49ff11e9e2f5aa.js:244
 .....

The returned JSON from Contentful is

{
  "sys": {
    "type": "Array"
  },
  "total": 1,
  "skip": 0,
  "limit": 40,
  "items": [
    {
      "sys": {        
        "id": "694tbx3CbMiGxQjFMXrbt9",
        "type": "Entry",        
        "environment": {
          "sys": {
            "id": "localDev",
            "type": "Link",
            "linkType": "Environment"
          }
        },
        "publishedVersion": 1,        
        "publishedCounter": 1,
        "version": 3,        
        "contentType": {
          "sys": {
            "type": "Link",
            "linkType": "ContentType",
            "id": "__MyModel__"
          }
        }
      },
      "fields": {
        "mrkt": {
          "en-US": {
            "myarr": [
              "test"              
            ]
          }
        }
      }
    }
  ]
}

Does it have something to do with the content type id?