Hi, in one of our production environment we starte...
# prefect-cloud
k
Hi, in one of our production environment we started to receive today 403 error from pods started by prefect-agent. There were no changes on our side, tokens are valid, network access is working fine (tried from a cluster with curl for the same URL and token). I'm out of ideas and this is important thing for us. Is there any chance that something has changed on prefect side?
Copy code
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/prefect/cli/_utilities.py", line 41, in wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/asyncutils.py", line 255, in coroutine_wrapper
    return call()
  File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 382, in __call__
    return self.result()
  File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 282, in result
    return self.future.result(timeout=timeout)
  File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 168, in result
    return self.__get_result()
  File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 345, in _run_async
    result = await coro
  File "/usr/local/lib/python3.10/site-packages/prefect/cli/flow_run.py", line 280, in execute
    await Runner().execute_flow_run(id)
  File "/usr/local/lib/python3.10/site-packages/prefect/runner/runner.py", line 436, in execute_flow_run
    flow_run = await self._client.read_flow_run(flow_run_id)
  File "/usr/local/lib/python3.10/site-packages/prefect/client/orchestration.py", line 1775, in read_flow_run
    response = await self._client.get(f"/flow_runs/{flow_run_id}")
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1757, in get
    return await self.request(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1530, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/usr/local/lib/python3.10/site-packages/prefect/client/base.py", line 312, in send
    response.raise_for_status()
  File "/usr/local/lib/python3.10/site-packages/prefect/client/base.py", line 164, in raise_for_status
    raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Client error '403 Forbidden' for url '<https://api.prefect.cloud/api/accounts/8e3c357b-643a-46d2-b41f-68414816c39b/workspaces/b506815f-ee83-44fc-b995-fe5bcfb68c52/flow_runs/8f3b81c2-3ee6-4715-b21c-50728013a9d2>'
For more information check: <https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403>
An exception occurred.
I updated prefect to latest 2.19.4 version and the problem is still there. Anyone has idea what such thing is happening?