The SSD (solid-state drive) in your Mac includes SMART (Self-Monitoring, Analysis, and Reporting Technology) hardware. This technology detects blocks of flash memory that have stopped working correctly.
An increased number of bad memory blocks can prompt this notification:
Get service for your SSD
This message means that the SSD has a problem that can't be fixed by Disk Utility or any third-party app. Back up as much of the data on your SSD as possible, then take your Mac to an Apple Authorized Service Provider or Apple Retail Store. You can also contact Apple Support.