Add ERROR_LOG for invalid id and timestamps