APIKeyNotFound Exception (#2892)
This commit is contained in:
@@ -728,3 +728,8 @@ class BrowserSessionNotFound(SkyvernHTTPException):
|
|||||||
f"Browser session {browser_session_id} does not exist or is not live.",
|
f"Browser session {browser_session_id} does not exist or is not live.",
|
||||||
status_code=status.HTTP_404_NOT_FOUND,
|
status_code=status.HTTP_404_NOT_FOUND,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class APIKeyNotFound(SkyvernHTTPException):
|
||||||
|
def __init__(self, organization_id: str) -> None:
|
||||||
|
super().__init__(f"No valid API key token found for organization {organization_id}")
|
||||||
|
|||||||
Reference in New Issue
Block a user