> For the complete documentation index, see [llms.txt](https://help.cerby.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cerby.com/tips-and-troubleshooting/troubleshooting/session-transfer/troubleshooting-expired-session.md).

# Troubleshooting: Expired session

An expired session occurs when the link between the Cerby cloud and your active app session becomes invalid, preventing automation tasks from performing successfully on your behalf.

***

## Why do sessions expire

Sessions might expire for different reasons, such as the following:

* **Security retention policy:** For your protection, Cerby's secure storage is configured to delete all browser state objects. If the session is not used or refreshed within this window, it expires automatically.
* **App-side invalidation:** Service providers such as Google or Instagram may terminate sessions if they detect a password change, security settings update, or if you manually log out from all devices.
* **New transfer performed:** Whenever you initiate a new session transfer for an account, all previously stored sessions are permanently deleted to ensure data integrity.

***

## How to identify an expired session

The following are some hints to identify when a session has expired:

* **Automation failures:** You may notice a decrease in the success rate of background automation tasks like password rotations or MFA checks.
* **Status indicators:** In the Cerby web app or browser extension, the session status might change from **Transferred** to **Invalid** or **Expired**.
* **Automation detection:** If the session has expired, you might see a CAPTCHA challenge or a non-secure browser alert from the provider.

***

## How to fix an expired session

If your session has expired, you must manually re-authorize the connection:

1. [Delete the old session](https://help.cerby.com/cerby-web-app/accounts/managing-your-accounts/delete-an-active-session).
2. Verify your browser by performing the following:
   1. Ensure you are logged into the target app in your current browser.
   2. Log out of any secondary accounts.
3. Follow the [Transfer active session](https://help.cerby.com/cerby-web-app/accounts/managing-your-accounts/transfer-your-active-session) steps to capture a fresh, valid session.

Now you are done.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.cerby.com/tips-and-troubleshooting/troubleshooting/session-transfer/troubleshooting-expired-session.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
