One of the best (IMHO) Sci-Fi books "His Master's Voice" by Stanisław Lem begins exactly like this.<p>"It is a densely philosophical first contact story about an effort by scientists to decode, translate, and understand an extraterrestrial transmission. The novel critically approaches humanity's intelligence and intentions in deciphering and truly comprehending a message from outer space."
<a href="https://en.wikipedia.org/wiki/His_Master%27s_Voice_(novel)" rel="nofollow">https://en.wikipedia.org/wiki/His_Master%27s_Voice_(novel)</a>