---
title: Idle time is longer than the session time
summary: Code: sessionidleexceedslifetime
section: errors
order: 85
---
# Idle time is longer than the session time

Code: `session_idle_exceeds_lifetime`

- HTTP status: 400 Bad Request
- Shown to the end user: Idle time is longer than the session time

Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.

## Cause

session_idle_timeout_seconds is longer than the realm's session lifetime, so the session would always end first and the idle time could never apply.

## Fix

Choose an idle timeout shorter than session_lifetime_seconds, or a longer session lifetime.

[All error codes](/errors/index.md)
