It is giving an error "KeyError: 'data'". I research about this on google, but don't get any proper guidance there.
The complete output I have received is:
Traceback (most recent call last):
File "fbcomments.py", line 130, in
main()
File "fbcomments.py", line 124, in main
res = list_comments(obj_id)
File "fbcomments.py", line 56, in list_comments
data = comments_request(id)
File "fbcomments.py", line 37, in comments_request
data = json_content["data"]
KeyError: 'data'
Kindly help me on this error.
It is giving an error "KeyError: 'data'". I research about this on google, but don't get any proper guidance there. The complete output I have received is: Traceback (most recent call last): File "fbcomments.py", line 130, in
main()
File "fbcomments.py", line 124, in main
res = list_comments(obj_id)
File "fbcomments.py", line 56, in list_comments
data = comments_request(id)
File "fbcomments.py", line 37, in comments_request
data = json_content["data"]
KeyError: 'data'
Kindly help me on this error.
Thank you.