Closed adinuca closed 6 years ago
A few new errors appeared during the weekend:
Deprecated field [exclude] used, expected [excludes] instead
Oct 14 23:04:54 d7a580a372fb ecs-rc-api-master-elasticsearch.log: [2018-10-14 20:04:54] log.WARNING: Request Failure: {"method":"GET","uri":"https://portal69-34.resource-contracts-production5.2653858948.composedb.com:30435/rc_live_5/metadata/_search","headers":{"Host":["portal69-34.resource-contracts-production5.2653858948.composedb.com:30435"],"Content-Type":["application/json"],"Accept":["application/json"]},"HTTP code":400,"duration":0.008683,"error":"{\"error\":{\"root_cause\":[{\"type\":\"parsing_exception\",\"reason\":\"[field_sort] failed to parse field [order]\",\"line\":1,\"col\":114}],\"type\":\"parsing_exception\",\"reason\":\"[field_sort] failed to parse field [order]\",\"line\":1,\"col\":114,\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"No enum constant org.elasticsearch.search.sort.SortOrder.ASC'\"}},\"status\":400}"} []
Oct 14 23:04:54 d7a580a372fb ecs-rc-api-master-elasticsearch.log: [2018-10-14 20:04:54] log.WARNING: Response ["{\"error\":{\"root_cause\":[{\"type\":\"parsing_exception\",\"reason\":\"[field_sort] failed to parse field [order]\",\"line\":1,\"col\":114}],\"type\":\"parsing_exception\",\"reason\":\"[field_sort] failed to parse field [order]\",\"line\":1,\"col\":114,\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"No enum constant org.elasticsearch.search.sort.SortOrder.ASC'\"}},\"status\":400}"] []
caused by the following request: /contracts?country_code=&year&resource=&per_page=25&from=25&sort_by=resource&order=asc%27&all=0&download=&category=olc
The above errors have been fixed and deployed.
Why
An error occurred in the logs while testing the Elasticsearch migration
What
Notes
Logs: