Kalise Richmond
11/01/2022, 2:26 PMKalise Richmond
11/01/2022, 2:26 PMAnna Geller
11/01/2022, 2:27 PMMason Menges
11/01/2022, 2:27 PMBianca Hoch
11/01/2022, 2:27 PMJeff Hale
11/01/2022, 2:27 PMRyan Peden
11/01/2022, 2:27 PMKhuyen Tran
11/01/2022, 2:27 PMLinen
11/01/2022, 2:33 PMOrbit
11/01/2022, 2:33 PMDiscourse Integration
11/01/2022, 2:34 PMAnna Geller
11/01/2022, 2:37 PMNelson Griffiths
11/01/2022, 3:03 PMjawnsy
11/01/2022, 3:07 PMRob Freedy
11/01/2022, 3:10 PMStephen Herron
11/01/2022, 3:11 PMJean Luciano
11/01/2022, 3:29 PMJames Sopkin
11/01/2022, 3:35 PMJoseph Desjardins
11/01/2022, 3:42 PMFred Birchall
11/01/2022, 3:51 PMTim Enders
11/01/2022, 3:56 PMAndrew Huang
11/01/2022, 4:26 PMAnjaneyulu K
11/03/2022, 7:55 PMAnjaneyulu K
11/03/2022, 7:55 PMGiuliano Mega
11/03/2022, 10:29 PMInvalid flow run id. Recieved arguments: ['/usr/local/lib/python3.10/site-packages/prefect/engine.py']
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 1594, in <module>
flow_run_id = UUID(
File "/usr/local/lib/python3.10/uuid.py", line 171, in __init__
raise TypeError('one of the hex, bytes, bytes_le, fields, '
TypeError: one of the hex, bytes, bytes_le, fields, or int arguments must be given
Michael Viescas
11/06/2022, 5:59 PMimport requests
account_id="REDACTED"
workspace_id="0851ecb8-a917-43ce-b7d6-c7332cbdc608"
base_url=f"<https://api.prefect.cloud/api/accounts/{account_id}/workspaces/{workspace_id}>"
endpoint=f"{base_url}/api/hello"
headers={"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
r=requests.get(endpoint, headers=headers)
print(endpoint)
print(r.status_code)
print(r.json())
It generates this output:
<https://api.prefect.cloud/api/accounts/REDACTED/workspaces/0851ecb8-a917-43ce-b7d6-c7332cbdc608/api/hello>
404
{'detail': 'Not Found'}
Any help would be much appreciated!
NOTE - I can fire up a local Orion server and hit /api/hello just fine.Jesper Bruun Hansen
11/07/2022, 9:57 AMAnjaneyulu K
11/07/2022, 7:02 PMJesper Bruun Hansen
11/08/2022, 7:06 PMAnjaneyulu K
11/08/2022, 9:35 PMAnjaneyulu K
11/08/2022, 9:35 PMAnna Geller
11/09/2022, 12:02 AMAnjaneyulu K
11/09/2022, 12:04 AM