https://prefect.io logo
j

Jace Iverson

08/07/2023, 8:14 PM
Hello Prefect Community. Iā€™m Jace and our organization recently started integrating prefect into our suite of data pipeline tools. One task that I am working on right now involves using the REST API to create a flow run (it will be triggered by another piece of software we have) and instantly run the flow run. When using the API i get a 503 and
{'exception_message': 'Service Unavailable'}
. Is there somewhere I can check the status of the API? Or maybe there is a better practice to run a flow from an outside trigger. I am open to other ideas. Thank you.
d

Deceivious

08/08/2023, 5:15 AM
Is it Prefect Cloud or prefect OSS ?
c

Christopher Boyd

08/08/2023, 2:06 PM
How are you using it , what payload / endpoint?
j

Jace Iverson

08/08/2023, 5:17 PM
The flow i would like to create a run for is in Prefect Cloud, and I am using the /flow_runs/ endpoint.
j

Jace Iverson

08/09/2023, 7:01 PM
Thank you @Christopher Boyd. This was the issue. I was using the incorrect endpoint. This now works. Thanks for your help here.
āœ… 1
šŸ™Œ 1