---
title: max_age invalid
summary: Code: maxageinvalid
section: errors
order: 55
---
# max_age invalid

Code: `max_age_invalid`

- HTTP status: 400 Bad Request
- OAuth `error`: `invalid_request`
- Shown to the end user: This app sent an invalid request.

Request-specific detail for this error is safe to show to the person signing in.

## Cause

max_age is not a non-negative whole number of seconds.

## Fix

Send max_age as seconds, for example max_age=300.

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