Apply the Polymorphic Pattern -- Code Not passing

All validations passed for my entry and I also got the validation code.

`Processing document: 1

… against solution: 1
The document passes validation

Processing document: 2

… against solution: 2
The document passes validation

Processing document: 3

… against solution: 3
The document passes validation

Congratulations - here is your validation code: xxx…
`
However, my code is not working

Post a screenshot of the terminal where you ran the validation with a screenshot where you enter the code that gives you an error.

I don’t think I should show the code.

this is also helpful for us

Hi @Karl-Edward_23518

Thanks for flagging this - the code 5c********************02 is what is examined and should return correct.

Can you message me the email associated with your MongoDB University account and I can credit you for this lesson?

Kindest regards,
Eoin

I messaged you, @Eoin_Brazil, thank you. It simply says the entered code is incorrect @steevej.

Hi @Karl-Edward_23518

Thanks for the message, I’ve credited you for the course. It appears to be a cut and paste error missing a digit, I’ll raise a ticket to see about adding a length check to the code checker so that we could flag a more meaningful error message should this occur in the future.

Kindest regards,
Eoin

1 Like