firebase / Firebase Admin Authentication
Firebase Admin Auth: auth/invalid-session-cookie-duration
The session cookie duration is not a valid number of milliseconds between 5 minutes and 2 weeks.
Visible symptoms
- Error code: auth/invalid-session-cookie-duration.
Safe verification and recovery
Use a valid duration
Pass a duration between 5 minutes and 2 weeks, in milliseconds.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.
Verified source list
Analyze a redacted excerpt locally All Firebase Admin Authentication errors