Is there a proper location to be running:
add_filter('acf/validate_value/name=table_name', 'hc_datatable_name_validation', 10, 4);
I saw a similar issue mentioned on StackExchange.
https://wordpress.stackexchange.com/questions/307794/error-in-validate-field-with-acf-plugin-in-wordpress
Based on that I’ve tried the add_filter at a number of different locations in the code.