Cant Pass The URL Shortener Microservice Test

Hi campers,
Recently I just finish one of my backend project and try to submit the solution, but it doesn’t pass the test. I use eight random character to generate the shorten link, but I’m not sure if this is what causing the issue. Should I use a number as the shorten link like in the example below?

{ original_url : '', short_url : 1}

Your project link(s)

githubLink: GitHub - dwisatriow/boilerplate-project-urlshortener at master

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Challenge: URL Shortener Microservice

Link to the challenge:

The problem is that you return ‘invalid url’ for valid urls. Take for example the challenge url ( and make sure that a shortened url is returned.

1 Like

Thank’s @BenGitter , that’s true, I haven’t try a long url with parameter like that. I’ll try to fix it then.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.