Caught exception while running initialize services
SEVERE: Caught an exception while invoking method ‘importApplication’ on object ‘IFCR’. Releasing locks. Failed with error Bad Request (400): “com.endeca.content.core.DocumentHandlerException: ecr:type was not specified at path: /sites/MyAppen/redirects”
This would mean that ecr:type is not defined for MyAppen under the configuration at following location <app-direcotry>/config/import/redirects/_.json
The redirect-group is the ecr-type for the redirects grouping under different directories/application.
Fix – vi
Add “ecr:type”: “redirects” :
{
“ecr:lastModifiedBy”: “admin”,
“ecr:lastModified”: “2018-12-11T13:35:24.315-05:00”,
“ecr:createDate”: “2019-05-15T13:55:26.677-05:00”,
“ecr:type”: “redirects”,
“ecr:permissions”: {
“Business Users”: {“allow”: [
“READ”,
“WRITE”
]},
“grpLGUser-DT-Endeca-BusinessUsers”: {“allow”: [
“READ”,
“WRITE”
]}
}
}
Cheers,
Mayank Batra
- Topics:Endeca 113