I get this error when I run code using a python editor (VSCode). This issue randomly pops up and usually resolves itself after a few minutes, but now it's not working at all. I checked and i can run the code using Eikon's Codebook app.
The code breaks at line 10.