diff --git a/apps/sim/lib/auth/hybrid.ts b/apps/sim/lib/auth/hybrid.ts index 67fc19a36a..dd7c3913fa 100644 --- a/apps/sim/lib/auth/hybrid.ts +++ b/apps/sim/lib/auth/hybrid.ts @@ -154,7 +154,7 @@ export async function checkSessionOrInternalAuth( return { success: false, - error: 'Authentication required - provide session or internal JWT', + error: 'Unauthorized', } } catch (error) { logger.error('Error in session/internal authentication:', error) @@ -225,7 +225,7 @@ export async function checkHybridAuth( // No authentication found return { success: false, - error: 'Authentication required - provide session, API key, or internal JWT', + error: 'Unauthorized', } } catch (error) { logger.error('Error in hybrid authentication:', error)