> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/troubleshooting-articles/cryptographicexception-bad-data.md).

# CryptographicException - Bad Data

The error `CryptographicException - Bad Data` in Devolutions Server is caused by an invalid session key. To fix this error message, please clean the browser's local storage.

The following instruction are the steps to do in the Google Chrome browser.

1. Open a Google Chrome browser page.
2. Open the Google Chrome Console by pressing the F12 key.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4759.png" alt=""><figcaption></figcaption></figure>
3. Select ***Application*** in the console's top menu.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4760.png" alt=""><figcaption></figcaption></figure>
4. Select ***Local Storage*** in the console's left menu.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4761.png" alt=""><figcaption></figcaption></figure>
5. Right click your site(s) and click ***Clear*** to delete the local storage.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4762.png" alt=""><figcaption></figcaption></figure>


---

# 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:

```
GET https://docs.devolutions.net/server/knowledge-base/troubleshooting-articles/cryptographicexception-bad-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
