```query { search(input: { type: DATA_PLATFO...
# troubleshoot
s
Copy code
query {
  search(input: {
    type: DATA_PLATFORM,
    query: "*",
    count: 100,
    start: 0,    
  }) {
    total
    searchResults {
      entity {
          urn                  
      }
    }
  }
hi Pablo, it keeps returning 0 entities ....
Copy code
{
  "data": {
    "listIngestionSources": {
      "start": 0,
      "count": 10,
      "total": 0,
      "ingestionSources": []
    }
  },
  "extensions": {}
}
i can see the platforms in the ui
and i have datasets and everything ....
m
What datahub version do you have? You are executing this in datahub's graphql API right? (
<your_dh_host>/api/graphiql
)
s
Copy code
0.9.2
i´m using graphql ui now
to tes the query first
m
What do you mean by GraphQL ui? The web that is accessible by the URL I wrote above, right?
s
yes
m
And are you logging in with a user with enough permissions to be able to see such information??
s
same query with other entities work
m
Do you see any error in the logs of any of datahub's services?
s
dataflow, datajob, dataset ....
not sure about logs, let me ask ....
m
It could be also a permissions problem, please check it too
s
but it's the same user i logged into the ui ...
m
It is, but can you see the ingestion sources in the UI?? Is it an admin, or just a reader/writer?
s
it's root
b
when you say you can see platforms in the UI, do you mean on the home page? you should be getting ~53 results from that search since on boot up we ingest the contents of
data_platforms.json
in
metadata-service/war/src/main/resources/boot/
- are you able to see these platforms in mysql or in elasticsearch?
s
i´ll check ....
thanks