diff --git a/ayon_api/server_api.py b/ayon_api/server_api.py index f8d4e07d7..ae80d09b5 100644 --- a/ayon_api/server_api.py +++ b/ayon_api/server_api.py @@ -1652,7 +1652,13 @@ def enroll_event_job( response = self.post("enroll", **kwargs) if response.status_code == 204: return None - elif response.status_code >= 400: + + if response.status_code == 503: + # Server is busy + self.log.info("Server is busy. Can't enroll event now.") + return None + + if response.status_code >= 400: self.log.error(response.text) return None