Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with Login #2

Open
ries9112 opened this issue Aug 17, 2021 · 1 comment
Open

Trouble with Login #2

ries9112 opened this issue Aug 17, 2021 · 1 comment

Comments

@ries9112
Copy link

This seems like a great package, thank you for making it!

Unfortunately on my end I'm having some issues logging in. Getting the error JSONDecodeError: Expecting value: line 1 column 1 (char 0). Any thoughts? I verified my username and pswd are correct, and even changed to a new pswd while I test the connection.

image

@admir-selimovic
Copy link

I'm having the same issue:

/usr/local/lib/python3.7/dist-packages/dune_analytics/init.py in authenticate(self, username, password)
17 transport = self.client.transport
18
---> 19 csrf = transport.session.post("https://duneanalytics.com/api/auth/csrf").json()['csrf']
20 r_auth = transport.session.post("https://duneanalytics.com/api/auth", data={
21 "csrf": csrf,

AttributeError: 'NoneType' object has no attribute 'post'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants