---
title: Device code expired
summary: Code: devicecodeexpired
section: errors
order: 30
---
# Device code expired

Code: `device_code_expired`

- HTTP status: 400 Bad Request
- OAuth `error`: `expired_token`
- Shown to the end user: Device code expired

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

The device code was not approved before it expired.

## Fix

Start a new device authorization.

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