This message was deleted.
# prefect-community
s
This message was deleted.
1
m
More logs
Copy code
ERROR - agent | Exception encountered while deploying flow run 4950edf5-46db-4ff9-8cfd-07ce62570c55
Traceback (most recent call last):
deployment_info = self.deploy_flow(flow_run)
File "/usr/local/lib/python3.9/site-packages/prefect/agent/agent.py", line 388, in _deploy_flow_run
File "/usr/local/lib/python3.9/site-packages/kubernetes/client/api_client.py", line 180, in __call_api
File "/usr/local/lib/python3.9/site-packages/kubernetes/client/api/batch_v1_api.py", line 309, in create_namespaced_job_with_http_info
File "/usr/local/lib/python3.9/site-packages/kubernetes/client/api_client.py", line 391, in request
File "/usr/local/lib/python3.9/site-packages/prefect/agent/kubernetes/agent.py", line 437, in deploy_flow

return self.request("POST", url,
return self.api_client.call_api(
return self.create_namespaced_job_with_http_info(namespace, body, **kwargs)  # noqa: E501

HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}
a
can you try using a new API key?
m
It was a AWS secret problem. I'll delete the post to keep the forum clean. Thanks
a
Nice, thanks for the update