diff --git a/core/viewsets.py b/core/viewsets.py index 06e3a05a..264999c7 100644 --- a/core/viewsets.py +++ b/core/viewsets.py @@ -219,7 +219,7 @@ class ProductViewSet(EvibesViewSet): if not obj: name = "Product" - raise Http404(f"{name} does not exist: {uuid}") + raise Http404(f"{name} does not exist: {lookup_value}") self.check_object_permissions(self.request, obj) return obj