Kibana Error loading data

Getting "Error loading data": error on kibana:

Replaced my elasticsearch domain with <domain>

    Error
    at Fetch._callee3$ (https://<domain>.us-west-1.es.amazonaws.com/_plugin/kibana/bundles/commons.bundle.js:1:1427337)
    at l (https://<domain>.us-west-1.es.amazonaws.com/_plugin/kibana/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:345:1002969)
    at Generator._invoke (https://<domain>.us-west-1.es.amazonaws.com/_plugin/kibana/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:345:1002722)
    at Generator.forEach.e.<computed> [as next] (https://<domain>.us-west-1.es.amazonaws.com/_plugin/kibana/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:345:1003326)
    at asyncGeneratorStep (https://<domain>.us-west-1.es.amazonaws.com/_plugin/kibana/bundles/commons.bundle.js:1:1420857)
    at _next (https://<domain>.us-west-1.es.amazonaws.com/_plugin/kibana/bundles/commons.bundle.js:1:1421168)

Seems to happen when there is a lot of data in elasticsearch

Also this in the chrome console log:

POST https://<domain>.es.amazonaws.com/_plugin/kibana/internal/search/es 503
    _callee3$	@	commons.bundle.js:1
    l	@	kbn-ui-shared-deps.js:345
    (anonymous)	@	kbn-ui-shared-deps.js:345
    forEach.e.<computed>	@	kbn-ui-shared-deps.js:345
    asyncGeneratorStep	@	commons.bundle.js:1
    _next	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    fetchResponse	@	commons.bundle.js:1
    _callee$	@	commons.bundle.js:1
    l	@	kbn-ui-shared-deps.js:345
    (anonymous)	@	kbn-ui-shared-deps.js:345
    forEach.e.<computed>	@	kbn-ui-shared-deps.js:345
    asyncGeneratorStep	@	commons.bundle.js:1
    _next	@	commons.bundle.js:1
    Promise.then (async)		
    asyncGeneratorStep	@	commons.bundle.js:1
    _next	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    _callee2$	@	commons.bundle.js:1
    l	@	kbn-ui-shared-deps.js:345
    (anonymous)	@	kbn-ui-shared-deps.js:345
    forEach.e.<computed>	@	kbn-ui-shared-deps.js:345
    asyncGeneratorStep	@	commons.bundle.js:1
    _next	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    search	@	data.plugin.js:6
    Promise.then (async)		
    asyncGeneratorStep	@	commons.bundle.js:1
    _next	@	commons.bundle.js:1
    Promise.then (async)		
    asyncGeneratorStep	@	commons.bundle.js:1
    _next	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    (anonymous)	@	commons.bundle.js:1
    fetch	@	commons.bundle.js:1
    (anonymous)	@	13.bundle.js:1
    (anonymous)	@	kbn-ui-shared-deps.js:391
    (anonymous)	@	kbn-ui-shared-deps.js:391
    $digest	@	kbn-ui-shared-deps.js:391
    (anonymous)	@	kbn-ui-shared-deps.js:391
    Yr.completeTask	@	kbn-ui-shared-deps.js:391
    (anonymous)	@	kbn-ui-shared-deps.js:391
    setTimeout (async)		
    o.defer	@	kbn-ui-shared-deps.js:391
    $evalAsync	@	kbn-ui-shared-deps.js:391
    (anonymous)	@	kbn-ui-shared-deps.js:391
    d	@	kbn-ui-shared-deps.js:391
    e	@	kbn-ui-shared-deps.js:391
    (anonymous)	@	kbn-ui-shared-deps.js:391
    Promise.then (async)		
    e	@	kbn-ui-shared-deps.js:391
    p	@	kbn-ui-shared-deps.js:391
    (anonymous)	@	kbn-ui-shared-deps.js:391
    (anonymous)	@	kbn-ui-shared-deps.js:391
    $digest	@	kbn-ui-shared-deps.js:391
    $apply	@	kbn-ui-shared-deps.js:391
    callInDigest	@	commons.bundle.js:1
    next	@	commons.bundle.js:1
    t.__tryOrUnsub	@	kbn-ui-shared-deps.js:21
    t.next	@	kbn-ui-shared-deps.js:21
    t._next	@	kbn-ui-shared-deps.js:21
    t.next	@	kbn-ui-shared-deps.js:21
    t.debouncedNext	@	kbn-ui-shared-deps.js:438
    oe	@	kbn-ui-shared-deps.js:438
    t._execute	@	kbn-ui-shared-deps.js:328
    t.execute	@	kbn-ui-shared-deps.js:328
    t.flush	@	kbn-ui-shared-deps.js:328
    setInterval (async)		
    t.requestAsyncId	@	kbn-ui-shared-deps.js:328
    t.schedule	@	kbn-ui-shared-deps.js:328
    e.schedule	@	kbn-ui-shared-deps.js:328
    t.schedule	@	kbn-ui-shared-deps.js:328
    t._next	@	kbn-ui-shared-deps.js:438
    t.next	@	kbn-ui-shared-deps.js:21
    t.notifyNext	@	kbn-ui-shared-deps.js:328
    t._next	@	kbn-ui-shared-deps.js:328
    t.next	@	kbn-ui-shared-deps.js:21
    t.next	@	kbn-ui-shared-deps.js:271
    $scope.updateQuery	@	13.bundle.js:1
    (anonymous)	@	dashboard.plugin.js:41
    $eval	@	kbn-ui-shared-deps.js:391
    $apply	@	kbn-ui-shared-deps.js:391
    wrapped	@	dashboard.plugin.js:41
    (anonymous)	@	data.plugin.js:6
    (anonymous)	@	data.plugin.js:6
    bo	@	kbn-ui-shared-deps.js:399
    vo	@	kbn-ui-shared-deps.js:399
    vl	@	kbn-ui-shared-deps.js:399
    t.unstable_runWithPriority	@	kbn-ui-shared-deps.js:407
    Hi	@	kbn-ui-shared-deps.js:399
    yl	@	kbn-ui-shared-deps.js:399
    ol	@	kbn-ui-shared-deps.js:399
    (anonymous)	@	kbn-ui-shared-deps.js:399
    t.unstable_runWithPriority	@	kbn-ui-shared-deps.js:407
    Hi	@	kbn-ui-shared-deps.js:399
    Gi	@	kbn-ui-shared-deps.js:399
    Yi	@	kbn-ui-shared-deps.js:399
    se	@	kbn-ui-shared-deps.js:399
    Tn	@	kbn-ui-shared-deps.js:399
    Show 35 more frames

I'm not sure where to go from here. Any help? Thanks!

Do you have access to the Elasticsearch logs? Since this error messages doesn't help much.
https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html

In which part of Kibana do you get this error message?You should check for errors in elasticsearch.log, depending on your type of installation and setup it can be named differently.

Hey sorry sorry for the late response. My issue was my document size, I was storing a large amount of data in the documents, and kibana is set to retrieve 500 documents by default in the discovery page, reducing this, or reducing the document size solved my problem.