Need to check the URL Which is you passed to consume the data .
Hi VIGNESH R,
Can you add Error handling to your rest service and log your $latest error and share it here. It is a good practice to always handle errors. Otherwise we will always end up with generic message like this