Odyssey Tutorial Part 4 IV - Code challenge not correctly identifying correct answer

The coding challenge ask to wrap the mutation’s api call in a try catch and return the expected object.

I’ve done that and it still fails. I’ve show the solution and it is exactly the same as my solution.

What have I missed?

Hi there, @dobby_dommo ! Thanks for reaching out. From the screenshot you provided, it looks like you might be missing the final s on the error.extensions property in your catch block. If you update the code and message properties in the object returned in the catch block to reference extensions instead, does that fix the issue?


Nice catch. Appreciate your feedback