Graph Academy: Indexes and Constraints

I am having an issue on the Indexes and Constraints course on graph academy. I am trying to create a node key constraint but when I run the code it returns an error. It is the same exact code as the solution of graph academy. My graph may be different than what its supposed to be, but I do not know how to fix it.

Hello @kvandoren ,

Welcome to the Neo4j Community!

Are you using the embedded Neo4j Browser pane on the course page? You must perform the work for the course in that pane as it ensures you are accessing the correct sandbox and the graph is properly initialized with the indexes and constraints you need for that part of the course.

Let us know if you continue to have a problem.

Elaine