Closed RicardoEPRodrigues closed 2 years ago
@RicardoEPRodrigues I've not been able to reproduce the bug. Did it happen while running any of the examples? If not can you provide the code? Also, where you using any development branch?
Perhaps it might be a network error that is not being dealt with. It seems it is always assumed that there is going to be a "data" type in the response, but if not internet is available what happens?
We are not dealing with network errors yet (I'll handle it on the next release). Still, I believe the error you identified as nothing to do with network errors. Otherwise the response would be None. I'm gonna run some test to see what is happening.
Seems like @PipzCorreiaz also experienced this error.
Fixed on #13
An error was launched when running the
examples/example_1_hello_world.py
(I provided an API key, IDK if it is relevant). It seems the response did not have a "data" field.