After some debugging we managed to narrow down that the error happens during a PATCH api call. We're only patching one field and get a KeyError on a field that is neither the patched one or unique.
As a starting example, where a+b are unique together: { "a": 1, "b": 2, "c": 3 }
When we Patch { "a": 5 }
We get the exception: File "/usr/local/lib/python3.13/site-packages/rest_framework/validators.py", line 191, in __call__ condition_kwargs = {source: attrs[source] for source in self.condition_fields} ~~~~~^^^^^^^^ KeyError: 'c'