Why am I getting this error when I am trying to cr...
# ask-community
j
Why am I getting this error when I am trying to create flow run using the
client
object
Copy code
prefect.utilities.exceptions.ClientError: [{'path': ['create_flow_run'], 'message': 'Flow 8eb08aff-f439-422f-94ba-31d30af635cb not found', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
c
The error message says that you’re providing a flow ID that doesn’t exist
where did you get that ID from?
j
the URL
in prefect
c
ah i see; the URL for the flow dashboard references the flow group ID
j
how can i get the actual fow-id?
c
hmmm it looks like we don’t expose that in a very transparent way right now - I’ll make a note of that. In the meantime you can run this query:
Copy code
query{
  flow(where: {flow_group_id: {_eq: "8eb08aff-f439-422f-94ba-31d30af635cb
"}, archived: {_eq: false}}){
   id 
  }
}
j
thank you
c
👍 👍