I was running a simple code in an infinite loop. It ran as it should for 8 iterations but on 9th it gave a type error:
"the JSON object must be str, not 'dict' "
I don’t get how the same piece of code runs well for 8 iterations but shows an error on 9th!?!
I have attached a picture as proof and also a piece of my code.
I await your response.
PS: The fourth last line in IMG_…214139.jpg is line 51.