Fix status code

Signed-off-by: Andy Kwok <andy.kwok@improving.com>
This commit is contained in:
Andy Kwok 2025-07-30 14:40:42 -07:00
parent b7376ad27c
commit 427c65c4e0

View file

@ -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)