# Device approval request closed

> The oauth.device_request_expired error (403) means the device authorization expired before it was answered. See how to start a new one.

## Error code

```json
{
  "code": "oauth.device_request_expired",
  "docUrl": "https://doc.mor.payments.ai/errors/oauth-device-request-expired"
}
```

## HTTP status

403

## Cause

The device authorization passed its 30-minute lifetime before the approval or denial reached the server. The device's token poll answers `expired_token` for the same reason.

## How to fix

Start the connection again on the device or agent to get a new code, then approve it within 30 minutes. A first-time user who has to sign up and verify an email first has the same 30 minutes.

## Related

- [Connect without a terminal](/connect#connect-without-a-terminal)
- [Device code not accepted](/errors/oauth-device-user-code-rejected)
