cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

plugin_sdk upload_plugin reporting error in plugin.json file

CedM
Observer

Hi there my plugin.json file reporting VALIDATION_ERROR_ILLEGAL_PROPERTY_CHANGE error when uploading plugin to Dynatrace when using type "Password" in the schema file.

When changed type to "String" plugin is uploaded but issue is password is visible in the endpoint configuration. 

plugin_sdk verify_plugin does not report error

Starting oneagent_verify_plugin
Checking plugin metadata: /opt/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.mobilitysendgrid/plugin.json
Validating plugin.json against schema
Plugin custom.remote.python.mobilitysendgrid is valid

plugin_sdk version: plugin_sdk 1.273.138.20230829.095340

Anyone had this issue?

Thanks

3 REPLIES 3

Mike_L
Dynatrace Guru
Dynatrace Guru

You cannot change the property type without removing and readding the extension (which means you need to recreate all endpoints).

You can solve it by renaming the property in the plugin.json and the python code at the same time as changing the property type. That will just require you to re-add the password into the endpoints.

Mike

Thanks for your reply Mike_L. Will try this and keep you posted.

CedM
Observer

Thanks @Mike_L after removing the existing plugin and executed the plugin upload command, no errors encountered.
Marked your reply as the solution. 
Thanks again!

Featured Posts