# Internal API Problem

**URL:** <https://platform.jetbrains.com/t/internal-api-problem/3254>\
**Category:** IntelliJ Platform\
**Tags:** plugin-development\
**Created:** [December 3, 2025, 8:43pm UTC](https://platform.jetbrains.com/t/internal-api-problem/3254 "2025-12-03T20:43:53Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 3, 2025, 8:43pm UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/1 "2025-12-03T20:43:53Z")

</div>

Hello,  
I received this message from JetBrains: “The latest update of your plugin uses an Internal API.” But my previous version was approved with the same code. I only changed the logo. I don’t use any Internal API in my code. Why is this happening now?

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [December 3, 2025, 9:09pm UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/2 "2025-12-03T21:09:11Z")

</div>

Could you share the exact message and the code signature in question?

---

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 3, 2025, 9:35pm UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/3 "2025-12-03T21:35:24Z")

</div>

Here is the exact message I received from JetBrains:

“The latest update of your plugin uses an Internal API, which is private and cannot be used outside the IntelliJ Platform itself.”

However, I did not use any Internal API in my code. My previous plugin version was approved without this issue, and the code is exactly the same. For the latest update, I only changed the logo no code changes at all. So I don’t know where this Internal API usage is coming from.

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [December 4, 2025, 6:29am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/4 "2025-12-04T06:29:06Z")

</div>

What is your plugin ID / link? It is hard to discuss unknown things

---

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 4, 2025, 8:29am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/5 "2025-12-04T08:29:22Z")

</div>

Here is the link to my plugin:

> **[Auto API Generator - IntelliJ IDEs Plugin | Marketplace](https://plugins.jetbrains.com/plugin/25063-auto-api-generator)**
>
> Auto API Generator - A powerful IntelliJ IDEA plugin that revolutionizes API development for Spring Boot projects. Generate complete REST APIs with advanced data...

Let me know if you need anything else.

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [December 4, 2025, 8:54am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/6 "2025-12-04T08:54:19Z")

</div>

And where did you receive the message? How it looked?

I so far only see the plugin builds are incompatible with the latest release of IDE because they use removed deprecated APIs of Kotlin UI DSL:

```auto
Method GenerateApiDialog.createCenterPanel.mainPanel$1$9.invoke(...) contains an invokestatic instruction referencing an unresolved method Cell.invoke$default(...). This can lead to NoSuchMethodError exception at runtime.
The method might have been declared in the super interface: BaseBuilder

```

---

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 4, 2025, 9:00am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/7 "2025-12-04T09:00:12Z")

</div>

I received the message by email from JetBrains Marketplace support. I wasn’t getting this error before the previous version of my plugin was approved without any issues. I only changed the logo and uploaded an update, without modifying any code. After that, they told me that my plugin “uses an Internal API,” but I don’t know the exact source of this issue, so they redirected me here to ask.

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [December 4, 2025, 9:12am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/9 "2025-12-04T09:12:56Z")

</div>

> [@musanabiyev](#):
>
> I wasn’t getting this error before the previous version of my plugin was approved without any issues

Let me manage your expectations a bit:

1. New versions of IDEs get released and we remove deprecated APIs. The latest build of your plugin contains references to removed deprecated APIs and incompatible with the latest IDE version 2025.3. So it cannot be approved.

2. We are still in review process of old APIs and sometimes we find classes and packages that are not supposed to be used by plugins as were never designed to. We keep the right to mark them Internal, and block new versions of plugins from using them. In general, we try to deprecate the incorrect APIs first or provide alternatives, but sometimes it is not really possible.

Let us check why we thought it is Internal API preventing publication, but at the moment the recent plugin versions are really incompatible with 2025.3 releases due to usages of removed code.

---

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 4, 2025, 9:17am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/10 "2025-12-04T09:17:54Z")

</div>

Great, it would be very helpful if I can understand the exact cause of the issue soon, so I can update my plugin accordingly. Thank you!

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [December 4, 2025, 9:20am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/11 "2025-12-04T09:20:22Z")

</div>

> [@musanabiyev](#):
>
> I can understand the exact cause of the issue soon,

Could you address the usages of removed Kotlin UI DSL methods so far? They will not let us approve the current builds anyway regardless of any other issues.

---

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 4, 2025, 10:25am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/12 "2025-12-04T10:25:50Z")

</div>

import com.intellij.ide.util.PackageChooserDialog  
import com.intellij.openapi.project.Project  
import com.intellij.openapi.ui.DialogWrapper  
import com.intellij.psi.PsiClass  
import com.intellij.ui.components.JBCheckBox  
import com.intellij.ui.layout.CCFlags  
import com.intellij.ui.layout.panel  
import java.awt.BorderLayout  
import java.awt.Dimension

Could the issue be caused by any of these imports, particularly the Kotlin UI DSL ones (CCFlags, panel), or is it coming from somewhere else in my code?

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [December 4, 2025, 10:30am UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/13 "2025-12-04T10:30:25Z")

</div>

I’d suggest that you try to compile the plugin with 2025.3 IDE version, the build will show compilation errors then

---

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 4, 2025, 4:00pm UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/14 "2025-12-04T16:00:28Z")

</div>

I updated the code and adapted everything to Kotlin UI DSL v2. All deprecated usages were removed and replaced with the new API.  
I’ve uploaded the new version to the Marketplace could you please review it?

---

<div class="post-metadata">

**Author:** ![Albert](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/albert/32/32_2.png) [@Albert](https://platform.jetbrains.com/u/Albert)\
**Post date:** [December 4, 2025, 7:08pm UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/15 "2025-12-04T19:08:05Z")

</div>

Hi, the latest update is approved now.

---

<div class="post-metadata">

**Author:** ![musanabiyev](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/musanabiyev/32/359_2.png) [@musanabiyev](https://platform.jetbrains.com/u/musanabiyev)\
**Post date:** [December 4, 2025, 7:36pm UTC](https://platform.jetbrains.com/t/internal-api-problem/3254/16 "2025-12-04T19:36:44Z")

</div>

Hi, Great, thank you for the quick review and approval. I appreciate your support.
