ERROR: 'SEARCH_BY_DATE' not found