# Supabase: AuthSessionMissingError: Auth session missing!

**Code:** `Auth session missing` · **Category:** Authentication · **Seen on:** Supabase

An auth call was made without a signed-in session.

## Meaning

Calls such as `getUser()`, `updateUser()` and `signOut()` need a stored session. On the server the session lives in cookies, so a missing cookie adapter makes every call fail.

## Common causes

- No session
- SSR cookies not passed
- Storage unavailable
- Calling auth methods during SSR without request cookies

## Quick fix

1. Check `getSession()` first
2. Configure SSR cookies
3. Check `getSession()` before calling
4. Use the Supabase SSR helper with Next.js cookies

## Detailed fix by platform

### Next.js

1. Use `@supabase/ssr` helpers with cookies

## How to diagnose

1. **Session** — Exists?
2. **Cookies** — Passed in SSR?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/auth/supabase-auth-session-missing)
