Thread
#prefect-community
    m

    Matt Allen

    2 years ago
    I'm trying to run the prefect ui and apollo in kubernetes, and I've got everything almost working. When I try to register a flow from my local machine I get a 400 from the graphql endpoint, but I can't see any other information about what's going wrong with the request. Is it possible to get some kind of debug or verbose output from flow.register?
    Chris White

    Chris White

    2 years ago
    Hi @Matt Allen! Yes it is; if you set:
    PREFECT__CLOUD__DIAGNOSTICS=true
    as an environment variable prior to your python session, you’ll see some very verbose output about the request being sent and the response that was returned
    m

    Matt Allen

    2 years ago
    Awesome, thanks
    Chris White

    Chris White

    2 years ago
    @Marvin archive “How to debug a 400 error in flow.register”
    Marvin

    Marvin

    2 years ago