diff --git a/prule/daemon/__main__.py b/prule/daemon/__main__.py
index c450e86741015fc8cc3525defa1cdfb7db1f1fc3..56074a9e14417eb375d3f704a69818f544f1337b 100644
--- a/prule/daemon/__main__.py
+++ b/prule/daemon/__main__.py
@@ -612,6 +612,8 @@ class PruleThread(threading.Thread):
                 return (False, 401)
             if e.code == 500 and "Duplicate entry" in msg: # TODO: Tag is inserted twice. Fix once tag removal is possible.
                 return (True, 0)
+            if e.code == 500 and "UNIQUE constraint failed: jobtag.job_id, jobtag.tag_id" in msg: # TODO: Tag is inserted twice. Fix once tag removal is possible.
+                return (True, 0)
             return (False, e.code if e.code > 0 else 999)
         except Exception as e: # something went horribly wrong
             traceback.print_exc()