billogram / billogram-v2-api-python-lib

Python library for the Billogram REST API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random RequestDataError exceptions

Majsvaffla opened this issue · comments

Hi

First off: this might not be an error with the library itself but I decided to open an issue because maybe someone else has had a similar problem.

I'm doing several successful requests to the API and then suddenly I get a 401 response saying "Authentication credentials missing". My code should handle if the auth details were actually missing when initiating the API object. I've also followed the trace in the code of the requests library and it should crash if it were passed e.g. (None, None) as authentication.

Anyone have a clue of what I might be doing wrong?