get_terms for all custom taxonomies shows invalid taxonomy error

get_terms for all custom taxonomies shows invalid taxonomy error