Access denied when conecting to Metabase´s API in Google Colab

Viewed 13

Im trying to access the Metabase API in Google Colab and I keep getting access denied, even though my credentials being correct. When I run the same code in jupyter notebook it works fine.

I´m currently running:

res = requests.post('https://myendpoint/api/session',
                    headers = {"Content-Type": "application/json"},
                    json =  {"username":myuser ,
                             "password":mypassword }
                  
)
0 Answers
Related