Closed lenisko closed 3 years ago
I don't know, but it sounds like neither name
nor attr_name
is in self. I'd try debugging further by catching that exception and inspecting the context that leads to the behavior. If I had to guess, I'm guessing the API is throttling or otherwise returning an error response. If that is the case, it would be nice if the API provided a better error message.
Sorry I won't be able to help anymore. Switched to direct API call in my own project and no issues so far. I will leave it open though, maybe someone else find some time to debug this module.
I had the same error so I went from answer = (next(res.results).text) to answer = next(res.results).text and it seemed to work perfectly. I dont know why removing the parenthesis worked this is my second day doing this stuff but hope this helps. 👍
Sounds like the usage recommended in the docs also helps here. I welcome improvements to the project, but this report is inactionable as described.
Any clue why it's happening? there's like.. 1/20 chance to hit this error, but still it's annoying.
query on which I hit this error
5800000 JPY in pln