Sudoku solver test question

Hello,
I am doing the sudoku solver project (link) and I can’t pass the second test:

You can POST /api/solve with form data containing puzzle which will be a string containing a combination of numbers (1-9) and periods . to represent empty spaces. The returned object will contain a solution property with the solved puzzle.

My code works as expected so I don’t really get the problem or what the test expects from me instead.
Usually, I would check and compare with the example freecodecamp provided, but that link hasn’t been working for the last couple of days.
Can anyone either spot the problem, see anything wrong with my end-result or just post their projects so I have something to compare with that did pass the test?

My project can be found here: https://sudoku-solver.koffiekan.repl.co/

Hello~!

I tested your route manually with Postman. It appears you are returning the solution value as an array - it should be a string. :slightly_smiling_face:

1 Like

Thank you! It passes the test now.

1 Like