Failed to retrieve token from superset #26277
Unanswered
peanut00
asked this question in
Q&A / Help
Replies: 2 comments
-
Facing the same issue, Even after using the above method, getting 500 Fatal error, Discussion link please have a look. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to get a tocken from superset, but I receiving a status code of 500 with a message {"message":"Fatal error"}
Could you help please?
import requests
url = 'http://localhost:8088'
username = 'admin'
password = 'admin'
auth_res = requests.post(
f'{url}/api/v1/security/login',
json={'username': username, 'password': password}
)
auth_token = auth_res.json()['access_token']_
Beta Was this translation helpful? Give feedback.
All reactions