Use a better approach to deal with billy errors in the same manner
(instead of try and except everywhere then raise HTTP errors)
Update invalid uri format error message