Andrew Richards

02/09/2023, 8:28 PM
Recently my agents (2.7.9) have been unable to push logs to the prefect API and display them in the prefect cloud UI. Anyone know what might be causing this?
--- Orion logging error ---
Traceback (most recent call last):
  File "/root/micromamba/envs/prefect/lib/python3.7/site-packages/prefect/logging/", line 151, in send_logs
    await client.create_logs(self._pending_logs)
  File "/root/micromamba/envs/prefect/lib/python3.7/site-packages/prefect/client/", line 1843, in create_logs
    await <|>(f"/logs/", json=serialized_logs)
  File "/root/micromamba/envs/prefect/lib/python3.7/site-packages/httpx/", line 1855, in post
  File "/root/micromamba/envs/prefect/lib/python3.7/site-packages/httpx/", line 1527, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/root/micromamba/envs/prefect/lib/python3.7/site-packages/prefect/client/", line 253, in send
  File "/root/micromamba/envs/prefect/lib/python3.7/site-packages/httpx/", line 736, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '429 Too Many Requests' for url '<><redacted>/workspaces/<redacted>/logs/'
For more information check: <>
Worker information:
    Approximate queue length: 8
    Pending log batch length: 3
    Pending log batch size: 1128