# plugin\_sdk upload\_plugin reporting error in plugin.json file

**URL:** <https://community.dynatrace.com/t/plugin-sdk-upload-plugin-reporting-error-in-plugin-json-file/41689>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [September 19, 2023, 11:55am UTC](https://community.dynatrace.com/t/plugin-sdk-upload-plugin-reporting-error-in-plugin-json-file/41689 "2023-09-19T11:55:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CedM](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@CedM](https://community.dynatrace.com/u/CedM)\
**Post date:** [September 19, 2023, 11:55am UTC](https://community.dynatrace.com/t/plugin-sdk-upload-plugin-reporting-error-in-plugin-json-file/41689/1 "2023-09-19T11:55:17Z")

</div>

Hi there my plugin.json file reporting&nbsp;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:&nbsp;plugin\_sdk 1.273.138.20230829.095340

Anyone had this issue?

Thanks

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [September 20, 2023, 6:52am UTC](https://community.dynatrace.com/t/plugin-sdk-upload-plugin-reporting-error-in-plugin-json-file/41689/2 "2023-09-20T06:52:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![CedM](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@CedM](https://community.dynatrace.com/u/CedM)\
**Post date:** [September 21, 2023, 6:15am UTC](https://community.dynatrace.com/t/plugin-sdk-upload-plugin-reporting-error-in-plugin-json-file/41689/3 "2023-09-21T06:15:32Z")

</div>

Thanks for your reply Mike\_L. Will try this and keep you posted.

---

<div class="post-metadata">

**Author:** ![CedM](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@CedM](https://community.dynatrace.com/u/CedM)\
**Post date:** [September 21, 2023, 10:30am UTC](https://community.dynatrace.com/t/plugin-sdk-upload-plugin-reporting-error-in-plugin-json-file/41689/4 "2023-09-21T10:30:15Z")

</div>

Thanks&nbsp;[@Mike\_L](https://community.dynatrace.com/user/11520)&nbsp;after removing the existing plugin and executed the plugin upload command, no errors encountered.  
Marked your reply as the solution.&nbsp;  
Thanks again!
