Hello hiiiiiithere1,
Shazam is a fantastic app and service, and ensuring you're able to use Shazam is important. To confirm, if you Shazam a song in a different app such as Messages, Music, or Snapchat is the song recognized? If so, troubleshooting TikTok or Shazam would be the recommended route for resolving this issue. You can find the recommended steps for troubleshooting applications listed below. They can also be found in the following article.
If an app on your iPhone or iPad stops responding, closes unexpectedly, or won't open
"Close and reopen the app: Force the app to close. Then open the app to see if it works as expected. Restart your device: Restart your iPhone or restart your iPad. Then open the app to see if it works as expected. Check for updates: To see if updates are available for the app, open the App Store, tap your profile icon, then scroll down to see if updates are available. If updates aren't available for the app, update the software on your iPhone or iPad.Delete the app, then redownload it: Delete the app. When you do this, you might lose data that was stored in the app. Then redownload the app. Then check to see if the problem with the app is fixed."
Let us know how that goes, and if the issue occurs in multiple applications.