Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-03-2022 11:35 AM
Hi,
I'm trying out the academy course challenge : Emil Eifrem is not really an actor! We no longer want him in the database. Write the code to delete his node in the graph.
With the below code but it says incorrect and I'm unable to continue.
Match (a:Actor {name:'Emil Eifrem')
DISPATCH DELETE a
There is no option to continue without getting the above right. Any help will be appreciated.
TIA
Udhay
03-03-2022 11:56 AM
It’s DETACH DELETE. You have DISPATCH DELETE
03-03-2022 02:13 PM
Sorry, that was a typo. I see that the record is getting deleted but the challenge option which says Check Database, which validates my statement says not correct. The hint is " First retrieve the node for Emil Eifrem . Emil Eifrem may have relationships in the graph"
Thanks
03-05-2022 08:37 AM
In addition to calling it DISPATCH instead of DETACH you have a missing "}"
Try this query and see if it helps
MATCH (a:Actor {name:'Emil Eifrem'})
DETACH DELETE a
03-05-2022 11:04 AM
There is no syntax error. The course says oops and is stuck there. I ran a match and it works as expected.
03-19-2022 11:43 PM
Hi Udhay
I am too facing similar problem after resolving the problem with correct solution the Query evalutaion is not geeting done at last step I have tried following Query
Match (a:Actor {name: "Emil Eifrem"})
DETACH DELETE a
I think there is problem with query evaluator from their end.
Thanks & Regards
Vinayak
03-19-2022 11:51 PM
Please try it's working !!!
Match (p:Person {name:"Emil Eifrem"})
DETACH DELETE p
Thanks & Regards
Vinayak Gaikwad
08-11-2022 02:38 AM
I am facing the same issue
08-15-2022 04:42 AM
Hello @VISHNU_KAVALI ,
If a Challenge does not validate, try refreshing the course page in your Browser, then attempt the Challenge again. Refreshing the course page resets the graph to where it should be at the beginning of the Challenge.
Elaine
08-19-2022 09:19 AM - edited 08-19-2022 09:21 AM
I am in Chrome, cleared the browser cache, cookies and restarted it. When I tried it again I also get the same problem. When it finally comes up with the "solution" it lets me run it and there are no results. It will not let me continue on from that page.
08-22-2022 03:47 PM
X2
08-24-2022 05:45 AM
Can you try signing out of GraphAcademy and signing back in?
My guess is that there is something in your cookies that is causing the problem.
The fact that the deletion showed no changes to the graph means that the node did not exist so I am wondering what state your graph was in. If you re-enter the Challenge, it should reset your graph to what it should be for the beginning of the challenge.
Elaine
09-25-2022 03:09 AM
I tried with multiple browsers as well. Please share screenshot if this works for anyone.
08-22-2022 03:46 PM
I am too facing similar problem after resolving the problem with correct solution the Query seems a sandbox bug, after delete cookies and close session , still happen. i can go further 'till delete this record ,, how can i solve it?
09-25-2022 03:08 AM
This topic has really added stress actually 😀. The command does not return any kind of rows. Please ask support to check if this excercise works at all.
09-26-2022 06:52 AM
Your query will only execute if you see the $neo4j prompt, meaning that it is connected to the sandbox instance. For this course, you can also go the sandbox.neo4j.com and perform the query in Neo4j Browser (Open) for the Movie database. That is the sandbox that is used for this course.
Elaine
All the sessions of the conference are now available online