Thank you for reaching out. I can certainly understand how confusing it can be when your contact name doesn't show up when receiving messages. Are you using the stock Samsung messages app?
Do you notice a pattern to the numbers being shown instead of contacts name?
Did you have an update around the time this started happening?
Have you tested your device in safe mode? If your phone or tablet is misbehaving, it's possible that a third-party app is causing the issue. To figure out what app is acting funny, you can use the Safe mode feature. In Safe mode, your device won't run any third-party apps. This allows you to easily identity and remove the app that may be causing the problem. Give this link a try: https://www.samsung.com/us/support/answer/ANS00062983/
Be sure to click " ✓ Accept as Solution" when you find an answer that works for you.
Please note, notification emails are a DO NOT REPLY address, you must log-in on the community page in order to respond.