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)