cancel
Showing results for 
Search instead for 
Did you mean: 

error "Unable to authenticate to the server"

Highlighted
Blue LED

I'm using the python client with the your trial platform. I want to create a project like https://datarobot-public-api-client.readthedocs-hosted.com/en/v2.22.1/setup/getting_started.html but I'm getting an error --

Unable to authenticate to the server error -- and  endpoint=https://app.datarobot.com/api/v2

why can't I do this? is it not supported for the trial maybe? thanks for your help

0 Kudos
2 Replies
Highlighted
Data Scientist
Data Scientist

Let me try to help - here are the commands you should use when connecting to self-service from python

import datarobot as dr 
dr.Client(token='your_token', endpoint='https://app2.datarobot.com/api/v2')

I slightly changed this code from the documentation you linked.  Since you are using our self service offering as a trial, you are connecting to datarobot located at app2.datarobot.com instead of app.datarobot.com.  Give the above command a try and let me know if that works.

Thanks

 

Highlighted
Blue LED

Thank you for explaining. Seems I was using the wrong end point.

its working great now

0 Kudos