Description
Describe the bug
After upgrading from 2.7 to 2.11, use of the _render/template api returns a 500 error, even though I'm logged in to Dev Tools with a user that has * * permission (all_access role).
Example POST (or GET, either one returns error):
POST _render/template/my_search_template
{
"params": {
"my_param": "hello",...
Error:
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "Unexpected exception indices:data/read/search/template"
}
],
"type": "security_exception",
"reason": "Unexpected exception indices:data/read/search/template"
},
"status": 500
}
Related component
Search
To Reproduce
GET _render/template/my_search_template
{
"params": {
"my_param": "hello",...
Expected behavior
Should return rendered template, but gives 500 error.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Type
Projects
Status