From 427c65c4e038075eb6568d5a9548a931bc935fe3 Mon Sep 17 00:00:00 2001 From: Andy Kwok Date: Wed, 30 Jul 2025 14:40:42 -0700 Subject: [PATCH] Fix status code Signed-off-by: Andy Kwok --- .../infrastructure/databases/graph/neptune_driver/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/graph/neptune_driver/exceptions.py b/cognee/infrastructure/databases/graph/neptune_driver/exceptions.py index 10aa0bb4b..c5b5ec972 100644 --- a/cognee/infrastructure/databases/graph/neptune_driver/exceptions.py +++ b/cognee/infrastructure/databases/graph/neptune_driver/exceptions.py @@ -46,7 +46,7 @@ class NeptuneAnalyticsAuthenticationError(NeptuneAnalyticsError): self, message: str = "Authentication with Neptune Analytics failed. Please verify your credentials.", name: str = "NeptuneAnalyticsAuthenticationError", - status_code=status.HTTP_400_BAD_REQUEST + status_code=status.HTTP_401_UNAUTHORIZED ): super().__init__(message, name, status_code)