Skip to main content
andresm576836
Participating Frequently
Aug 7, 2025 9:14 AM UTC
Solved

Error in custom connected system plugin deployment.

Hello appian developers:

I am developing a connected system type plugin and although the plugin has been validated by Appian, when I proceed to deploy it to Appian Cloud, this deployment fails with the following error:


2025-08-07 06:57:09,799 [http-nio-8080-exec-21839] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to enable Plug-in 'Instagram Connected System' (InstagramConnectedSystem) version 1.1.0: 'There was a problem loading the module descriptor: com.appiancorp.connectedsystems.templateframework.osgi.ConnectedSystemTemplateModule.<br/>com.nttdata.appian.plugins.SocialConnectedSystem.InstagramConnectedSystemTemplate is not of type com.appian.connectedsystems.templateframework.sdk.ConnectedSystemTemplate'
2025-08-07 06:57:09,800 [http-nio-8080-exec-21839] ERROR com.appiancorp.plugins.DeployUploadedPluginReaction - Failed to deploy plugin file socialConnectedSystem.jar
java.lang.IllegalStateException: Plugin was deployed but not successfully enabled
at com.appiancorp.plugins.DeployPluginService.lambda$installPlugin$2(DeployPluginService.java:134)

It seems to be a problem in the class that defines the Connected system, but I'm not sure if it means that the class must be of the type indicated in the error com.appian.connectedsystems.templateframework.sdk.ConnectedSystemTemplate, which doesn't match the examples provided by appian in its documentation, which indicates the use of the com.appian.connectedsystems.simplified.sdk.SimpleConnectedSystemTemplate class, or that the type indicated in the error is not correctly implemented by the plugin. The connected system I am developing extends the com.appian.connectedsystems.simplified.sdk.oauth.SimpleOAuthConnectedSystemTemplate class which in turn extends the aforementioned com.appian.connectedsystems.simplified.sdk.SimpleConnectedSystemTemplate class which seems to be correct according to the appian documentation.

Thank you.

shubhama926776
Brainy
Aug 8, 2025 8:19 AM UTC

Oh, I was expecting that since it generally gets missed, so I included the documentation link in my first post.

Great to know that you’re good to go!

शुभम्

10 replies

andresm576836
Participating Frequently
Aug 7, 2025 10:03 AM UTC

The version of the connected-system-core and connected-system-client jars are correct and my class is very similar to this example github.com/.../GoogleDriveSampleConnectedSystemTemplate.java and it still gives the same error when deploying

shubhama926776
Brainy
Aug 7, 2025 12:33 PM UTC

Try adding jar configuration setting(mentioned in screenshot) then rebuild and test.
If it still fails, Verify JAR structure

शुभम्