[API] [Fix] Fix a false error message in get_tags_from_content