You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eu estou tendo um problema com o requests do pynubank, eu até fiz um issue mas o criador dessa pequena biblioteca fechou me comentário mas ele comentou sobre outro issue, no caso, isseu #419, mas eu, particular mente não estou consegui achar uma solução naquele issue. alguém pode achar para mim
o erro é esse:Traceback (most recent call last):
File "C:\Users\arthu\OneDrive\Documentos\Projeto PyNubank\app.py", line 6, in
teste = nu.get_account_balance()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\auth_mode.py", line 23, in wrapper
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\nubank.py", line 235, in get_account_balance
data = self._make_graphql_request('account_balance')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\nubank.py", line 52, in _make_graphql_request
return self._client.post(self._query_url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\utils\http.py", line 49, in post
return self._handle_response(post(url, json=json, headers=self._headers, **self._cert_args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\utils\http.py", line 35, in _handle_response
raise NuRequestException(response)
pynubank.exception.NuRequestException: The request made failed with HTTP status code 401
POR FAVOR, NÃO FECHA ESSE ISSUE, E ME AJUDA A RESOLVER. É QUE EU NÃO CONSEGUI ACHAR NADA NO ISSUE #419 PARA RESOLVER ESSE PROBLEMA. PFV, ME AJUDA
The text was updated successfully, but these errors were encountered:
Eu estou tendo um problema com o requests do pynubank, eu até fiz um issue mas o criador dessa pequena biblioteca fechou me comentário mas ele comentou sobre outro issue, no caso, isseu #419, mas eu, particular mente não estou consegui achar uma solução naquele issue. alguém pode achar para mim
o erro é esse:Traceback (most recent call last):
File "C:\Users\arthu\OneDrive\Documentos\Projeto PyNubank\app.py", line 6, in
teste = nu.get_account_balance()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\auth_mode.py", line 23, in wrapper
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\nubank.py", line 235, in get_account_balance
data = self._make_graphql_request('account_balance')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\nubank.py", line 52, in _make_graphql_request
return self._client.post(self._query_url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\utils\http.py", line 49, in post
return self._handle_response(post(url, json=json, headers=self._headers, **self._cert_args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pynubank\utils\http.py", line 35, in _handle_response
raise NuRequestException(response)
pynubank.exception.NuRequestException: The request made failed with HTTP status code 401
POR FAVOR, NÃO FECHA ESSE ISSUE, E ME AJUDA A RESOLVER. É QUE EU NÃO CONSEGUI ACHAR NADA NO ISSUE #419 PARA RESOLVER ESSE PROBLEMA. PFV, ME AJUDA
The text was updated successfully, but these errors were encountered: