# CALL db.schema got error

**URL:** <https://community.neo4j.com/t/call-db-schema-got-error/16477>\
**Category:** Cypher\
**Created:** [March 31, 2020, 12:49pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477 "2020-03-31T12:49:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![myfunelearn](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/myfunelearn/32/4471_2.png) [@myfunelearn](https://community.neo4j.com/u/myfunelearn)\
**Post date:** [March 31, 2020, 12:49pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/1 "2020-03-31T12:49:25Z")

</div>

I'm taking the Introduction to Cypher from Neo4J GraphAcademy online tutorial. First step is Examine The Data Model, however, the CALL db.schema does not work . The screen shot of error is bellow:  
\< icon

 ![image](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/2X/1/15d9efa2c607a6ce21fbfd6f768193d1f103188f.png) /\>

- neo4j version: 4.0.1
- desktop version : 1.2.5
- browser version
- platform: windows 10  
Any idea would be appreciated.  
Thank you

---

<div class="post-metadata">

**Author:** ![andrew\_bowman](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andrew_bowman/32/73_2.png) [@andrew\_bowman](https://community.neo4j.com/u/andrew_bowman)\
**Post date:** [March 31, 2020, 3:25pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/2 "2020-03-31T15:25:31Z")

</div>

The procedure has evolved, the visualization can be accessed with:

`call db.schema.visualization()`

---

<div class="post-metadata">

**Author:** ![myfunelearn](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/myfunelearn/32/4471_2.png) [@myfunelearn](https://community.neo4j.com/u/myfunelearn)\
**Post date:** [March 31, 2020, 9:38pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/3 "2020-03-31T21:38:47Z")

</div>

Hi Andrew,

Thanks for your response.  
call db.schema.visualizatio() does not get error, however, the results are not the same or similar to what showned in the document.  
I can't examine the data model. What is other command can show nodes and relationship as "call db.schema" do ?

Thang you

Eileen

---

<div class="post-metadata">

**Author:** ![andrew\_bowman](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andrew_bowman/32/73_2.png) [@andrew\_bowman](https://community.neo4j.com/u/andrew_bowman)\
**Post date:** [March 31, 2020, 9:43pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/4 "2020-03-31T21:43:17Z")

</div>

Can you explain what you're seeing when you use `db.schema.visualizatio()`, and link to the document you're referring to for what you're expecting to see?

---

<div class="post-metadata">

**Author:** ![myfunelearn](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/myfunelearn/32/4471_2.png) [@myfunelearn](https://community.neo4j.com/u/myfunelearn)\
**Post date:** [March 31, 2020, 10:21pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/5 "2020-03-31T22:21:27Z")

</div>

Here the results from call db.schema.visualization(

\<icon

 ![image](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/2X/0/0b2d33851f4763f90c7b7566d749b7cf446abbe8.png) /\>

Thanks

---

<div class="post-metadata">

**Author:** ![andrew\_bowman](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andrew_bowman/32/73_2.png) [@andrew\_bowman](https://community.neo4j.com/u/andrew_bowman)\
**Post date:** [March 31, 2020, 10:57pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/6 "2020-03-31T22:57:02Z")

</div>

A graphical result view is only available when there are nodes (real or virtual) to display. What you're seeing (lack of a graphical result view) is expected when there are no nodes in the database. If you create at least one node, then the visualization should be able to produce a graphical result view option for you to select on the left side.

---

<div class="post-metadata">

**Author:** ![myfunelearn](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/myfunelearn/32/4471_2.png) [@myfunelearn](https://community.neo4j.com/u/myfunelearn)\
**Post date:** [April 1, 2020, 12:25am UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/7 "2020-04-01T00:25:07Z")

</div>

Oh, now I understand . The tutorial online shows Person and Movie nodes information and a lot of examples with these two, and require to execute browser commands such as ":play intro-neo4j-excecises".  
Where i can get these information in order to execute the command and get data returned?

Thanks

---

<div class="post-metadata">

**Author:** ![andrew\_bowman](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andrew_bowman/32/73_2.png) [@andrew\_bowman](https://community.neo4j.com/u/andrew_bowman)\
**Post date:** [April 1, 2020, 2:34am UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/8 "2020-04-01T02:34:09Z")

</div>

You can use `:play movies` to get started with the movies graph, the second slide should have the Cypher necessary to create the graph.

---

<div class="post-metadata">

**Author:** ![myfunelearn](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/myfunelearn/32/4471_2.png) [@myfunelearn](https://community.neo4j.com/u/myfunelearn)\
**Post date:** [April 1, 2020, 9:30pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/9 "2020-04-01T21:30:50Z")

</div>

Andew,

I did and it only shows the guide, no graph data as the example does.  
How can I retrieve the buil-in movies graph?  
Thanks,

---

<div class="post-metadata">

**Author:** ![andrew\_bowman](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/andrew_bowman/32/73_2.png) [@andrew\_bowman](https://community.neo4j.com/u/andrew_bowman)\
**Post date:** [April 1, 2020, 10:48pm UTC](https://community.neo4j.com/t/call-db-schema-got-error/16477/10 "2020-04-01T22:48:05Z")

</div>

The second page of the guide has the import Cypher. You need to use the arrows in the guide to go the next page.

Once there, if you click on the query it will paste that into your query textbox, then you can press return to execute it and build the graph.
