HI Priyanka,
You can ignore line number as sometimes it does not match with the line number of HTML code.
If recipient messages are failing with an "Unreachable" error stating: Error while compiling script 'content htmlContent' line X: [table] is not defined. JavaScript: error while evaluating script 'content htmlContent, the cause of this issue is almost always a personalization within the HTML attempting to call upon a table or field that has not been defined or mapped in the upstream targeting or in the delivery's target mapping.
To correct this, the workflow and delivery content need to be reviewed to determine specifically what personalization is attempting to call the table in question and whether or not the table can be mapped.
Check the all the personalization in html and from there, either removing the call to this table in the HTML or fixing the mapping to the delivery would be the path to resolution.
You can go through below links to know more on this
Monitoring a delivery