In clarify_tag_suggestion.py

in get_tags_suggestions
for s in a[‘outputs’][0][‘data’][‘concepts’]:
IndexError: list index out of range

this is the error produced how to resolve it

1 Like

Possibly a[‘outputs’] does not contains any thing. It’s empty so at index 0 it;s showing index out of range check the dictionary

1 Like

I think you are trying to access a index which is not present in list. Read about how to use list in python.

1 Like

its in the same order in postman why is it not coming here

try printing type(a). May it give you some clue

1 Like

@iamstormborn what is type(a) ?

1 Like

i commented out that list thing and the response is coming as 401 instead of 200 in the terminal

Read up on how to iterate over a python dictionary. That’s how I solved it.