# Keycloak export failed

**URL:** <https://forum.keycloak.org/t/keycloak-export-failed/31339>\
**Category:** Getting advice\
**Created:** [April 22, 2026, 9:45am UTC](https://forum.keycloak.org/t/keycloak-export-failed/31339 "2026-04-22T09:45:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ingo](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@ingo](https://forum.keycloak.org/u/ingo)\
**Post date:** [April 22, 2026, 9:45am UTC](https://forum.keycloak.org/t/keycloak-export-failed/31339/1 "2026-04-22T09:45:47Z")

</div>

With Keycloak Version 26.6.0  
the export of a realm not master failed with  
2026-04-22 11:34:04,010 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (nonserver) mode  
2026-04-22 11:34:04,010 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) Error details:: java.lang.RuntimeException: Error while exporting policy [Default Policy].

I tested the export with 3 different keycloak instances.  
With Version 26.5.6 the export works fine.

Has someone any advise?

Ingo

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [April 22, 2026, 10:59am UTC](https://forum.keycloak.org/t/keycloak-export-failed/31339/2 "2026-04-22T10:59:25Z")

</div>

If it works with 26.5.x, but not with 26.6.x, then this sounds like a regression.  
I would open an issue in the Keycloak GitHub repo. Provide all the details you have.

---

<div class="post-metadata">

**Author:** ![ingo](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@ingo](https://forum.keycloak.org/u/ingo)\
**Post date:** [April 22, 2026, 11:15am UTC](https://forum.keycloak.org/t/keycloak-export-failed/31339/3 "2026-04-22T11:15:57Z")

</div>

Thanks, i will open an issue

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/keycloak/original/1X/eb342909d95cf32cbb7517610022c6a0046a9ffb.png) [@system](https://forum.keycloak.org/u/system)\
**Post date:** [October 19, 2026, 11:16am UTC](https://forum.keycloak.org/t/keycloak-export-failed/31339/4 "2026-10-19T11:16:08Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
