# Dev Tools Console Error

**URL:** <https://discuss.elastic.co/t/dev-tools-console-error/89351>\
**Category:** Kibana\
**Created:** [June 14, 2017, 9:47am UTC](https://discuss.elastic.co/t/dev-tools-console-error/89351 "2017-06-14T09:47:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhn134910](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jhn134910](https://discuss.elastic.co/u/jhn134910)\
**Post date:** [June 14, 2017, 9:47am UTC](https://discuss.elastic.co/t/dev-tools-console-error/89351/1 "2017-06-14T09:47:53Z")

</div>

Hello there,  
I'm using Kibana 5.4.0 where Kibana is operating behind a web-server and is using x-pack security.  
I've created some visualizations and dashboards.  
When I click on DevTools-\>Console and execute say:  
GET /\_cat/indices

I get the following response:  
{  
"statusCode": 400,  
"error": "Bad Request",  
"message": "child "method" fails because ["method" is required]",  
"validation": {  
"source": "query",  
"keys": [  
"method"  
]  
}  
}

If I execute the same request from terminal against elastic-search:  
[tango@iel-dev-tfsr-vm2 10:50:14 john]$ curl -XGET -u elastic 'localhost:9200/\_cat/indices?v&pretty'  
Enter host password for user 'elastic':  
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
yellow open .reporting-2017.06.09.00 B8uo8m6CTMSIyKtnxvDgLw 5 1 1 0 40kb 40kb  
yellow open .watcher-history-3-2017.06.06 4eJkH6Q\_Tbiu7OH4OoZalg 1 1 3470 0 2.5mb 2.5mb  
yellow open .monitoring-es-2-2017.06.08 4Mt3DuniQ1uN9\_UmT2PwKQ 1 1 306891 1536 153.4mb 153.4mb  
yellow open .watcher-history-3-2017.06.07 zl7YCpClQwqrFrGURouRDA 1 1 7140 0 5.3mb 5.3mb  
yellow open .monitoring-kibana-2-2017.06.08 y2-7P7aOQ8mvvj2dWfVbog 1 1 8324 0 1.9mb 1.9mb  
yellow open .reporting-2017.06.08.14 u4uteyLVTKWOZXupzbGQcQ 5 1 4 0 206.3kb 206.3kb  
yellow open .monitoring-data-2 7qXh\_SmgSXKnlMbcpeesXw 1 1 3 0 859.8kb 859.8kb  
yellow open irldf-campaign\_manager\_stats-2017.06.12 CT8yXK30TBifCLuWVtuGuQ 8 1 10 0 66.8kb 66.8kb  
....

The logged in user has roles, kibana\_user, reporting\_user and irldf\_user, where the last role is a custom role for accessing the elastic-search data in irldf-campaign\_manager\_stats\* indices.

Any guidance on how to trouble-shoot this would be much appreciated.  
Thanks,  
//John.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [June 14, 2017, 5:04pm UTC](https://discuss.elastic.co/t/dev-tools-console-error/89351/2 "2017-06-14T17:04:37Z")

</div>

It sounds like your kibana front-end and back-end might be out of sync. Have you refreshed the page in a while? Can you try using a new tab/private browsing?

---

<div class="post-metadata">

**Author:** ![jhn134910](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jhn134910](https://discuss.elastic.co/u/jhn134910)\
**Post date:** [June 15, 2017, 7:50am UTC](https://discuss.elastic.co/t/dev-tools-console-error/89351/3 "2017-06-15T07:50:29Z")

</div>

Thanks for responding Spencer.  
I tried restarting kibana and opening in new tab and opening incongito mode, but I get the same result.  
One thing that might have caused problems though, is that I'm testing on target environment that was low on disk space and it reached 100% utilization a couple of times. At that point, I removed some audit logs to make room and restarted both elastic-search and kibana.  
Also, in my curl statement above I specifically making request as elastic user. Is it possible that the console is returning the error due to the fact that the logged in user is missing a role in needs?

---

<div class="post-metadata">

**Author:** ![Greenie](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@Greenie](https://discuss.elastic.co/u/Greenie)\
**Post date:** [June 28, 2017, 6:57pm UTC](https://discuss.elastic.co/t/dev-tools-console-error/89351/4 "2017-06-28T18:57:52Z")

</div>

I'm having the same issue, but I am using ELK version 5.3. Was there a fix?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 26, 2017, 6:58pm UTC](https://discuss.elastic.co/t/dev-tools-console-error/89351/5 "2017-07-26T18:58:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
