Issue with AirPods showing no location

I keep getting this message and I’m still so confused. Could it be that my AirPods are attached to my old Apple ID that I can’t login to? How do I fix this?