Hello padmanaban176.
Welcome to Apple Support Communities.
If I'm understanding correctly, you are having some issues streaming Apple Music, because of an error message. Apple Music on your iPhone is a great feature and I'll be glad to help.
Let's try the steps below for the following resource to see if it helps:
First, check iTunes to see if the song is ineligible for upload. Additionally, if you added the song to your library from the Apple Music catalog, it might no longer be available on Apple Music.
Open Safari on your iOS device or Mac, or a web browser on your PC, and go to any website to make sure that you have a strong Wi-Fi or Internet connection.
If you can't connect to a Wi-Fi network on your iOS device, you can try using cellular data:
- Go to Settings > [your name] > iTunes & App Store.
- Turn on Use Cellular Data.
You might have to pay a fee to download over a cellular network. Contact your wireless carrier for details, and learn about cellular data settings and usage."
Cheers.