Answer the question
In order to leave comments, you need to log in
Can't get key from python dictionary?
I do
r = requests.get("https://api.telegram.org/bot755054506:AAGr_LtQZWzBlMYNvEGxfx-f6fnFVVXaTtM/getUpdates")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: 'update_id'
<Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: list indices must be integers or slices, not str
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question