Thread
#prefect-community
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    Ok second question - trying to register a flow using python library. prefect_client = Client(api_server=prefect_url). Getting an error "You have not set an API key for authentication." How would I get an API Key?
    Kevin Kho

    Kevin Kho

    5 months ago
    There are no API Keys for Server
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    right that's what I thought so why am i getting this error?
    is my code wrong>
    prefect_client = Client(api_server=prefect_url)#, api_key="test") schedule = IntervalSchedule(interval=timedelta(minutes=2))
    training_flow_id = prefect_client.register(flow, project_name=prefect_project_name)
    Kevin Kho

    Kevin Kho

    5 months ago
    You might not be configured to the right API endpoint? You can try leaving
    Client()
    blank and it will just connect
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    ok let me try that
    Malformed response received from Cloud - please ensure that you are authenticated. See
    prefect auth login --help
    if i leave it blank
    running it from google colab
    I think i got it. I had to provide the tenant id