Hello all,
I am using GetRequest_Submit action from HTTPRequestHandler extension for getting binary data from a URL. Some URLs are getting correct data and files have been downloading but for some URLs its getting "The remote server returned an error(404) Not Found". For invalid urls this error is coming. My question is i want to update the user an error message like "Please enter valid URL" in place of that. How can i achieve this?
Hello Nihaal,
Try to do it on the ExceptionHandler of the exception raised, of this error, instead of the 404 (All Exceptions Message), pass the message that you desire to the User.
Best Regards