Tell us what’s happening:
Describe your issue in detail here.
My Api is not passing the last test, and every time I run it, I noticed new inputs are automatically created in my database.
You don’t mention what the reason is that the test does not pass, but I noticed that if I put in the same website more than one it increments the “count”. When I did this challenge my code checked if a short url was already created for the website first, then if it was created returned the shot url previously created, else create a new short url and return the new short url.
That’s the problem, I don’t know the reason why it not passing the last test, yet my api checks the invalid and valid url properly and returns error message.