Friday, May 19, 2017

I was trying to wget one of Jenkins Artifacts, but was continuously getting a 404 error.

HTTP request sent, awaiting response... 404 Not Found
2017-05-19 13:12:13 ERROR 404: Not Found.

My request was as follows.


So my issue was, My URL had some special charactors. (tools$ballerina-tools) A $ character. So Bash droped this when fetching the artefact, So Jenkins was unable to find the actual resource. To solve this type of issue you can use a scape charater to skip the special character.


Full Request is as Follows.


This is one of million ways to get an 404 error, Just mentioning to help someone to save couple of hours. :)
Categories: ,


  1. I am also having same problem, I am trying to to call rest api to get current job details. It gives me 404 error but in browser it works fine.

    1. It's possible you might be having special characters in your URL which will be encoded by the browser and sent.


Subscribe to RSS Feed Follow me on Twitter!