https://prefect.io logo
#prefect-community
Title
# prefect-community
m

Matt Allen

07/16/2020, 11:38 PM
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?
c

Chris White

07/17/2020, 12:09 AM
Hi @Matt Allen! Yes it is; if you set:
Copy code
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

07/17/2020, 1:54 PM
Awesome, thanks
c

Chris White

07/17/2020, 3:36 PM
@Marvin archive “How to debug a 400 error in flow.register”