If an error occurs when sending a request to an instance, try and decode and print the error message back to the user.