{ "error": "Invalid image link"}
This route returns you the image through the browser, so there is will be no json response if your image is valid.