# Building demo plugin returns Status Code 400

**URL:** <https://community.dynatrace.com/t/building-demo-plugin-returns-status-code-400/36825>\
**Category:** Extensions\
**Tags:** linux, activegate, extensions\
**Created:** [October 7, 2022, 6:38am UTC](https://community.dynatrace.com/t/building-demo-plugin-returns-status-code-400/36825 "2022-10-07T06:38:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jc\_1](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jc\_1](https://community.dynatrace.com/u/jc_1)\
**Post date:** [October 7, 2022, 6:38am UTC](https://community.dynatrace.com/t/building-demo-plugin-returns-status-code-400/36825/1 "2022-10-07T06:38:46Z")

</div>

Hi,

I am attempting to build a demo plugin in my Linux virtual machine and got this status code:&nbsp;status code: 400 {“error”:{“code”:400,“message”:“VALIDATION\_ERROR\_VERSION\_CONFLICT”}}

Below are the commands that I have executed:

[jc@jc demo\_activegate\_plugin]$ sudo plugin\_sdk build\_plugin  
[sudo] password for jc:  
Arguments=Namespace(deployment\_dir=None, no\_cert\_ver=False, no\_upload=False, plugin\_dir=‘/home/jc/ag\_plugin/examples/demo\_activegate\_plugin’, server=None, token=None, token\_file=None, verbose=False)  
Starting oneagent\_build\_plugin  
Checking plugin metadata: /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/plugin.json  
Validating plugin.json against schema  
“processTypeNames” is deprecated in custom extension JSON definition file. Please use “technologies” instead.  
Plugin data: Plugin name=custom.remote.python.demo, version=1.3  
Cleaning up previous build information  
running bdist\_wheel  
running build  
running build\_py  
creating build  
creating build/lib  
copying /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.py → build/lib  
installing to build/bdist.linux-x86\_64/wheel  
running install  
running install\_lib  
creating build/bdist.linux-x86\_64  
creating build/bdist.linux-x86\_64/wheel  
copying build/lib/demo\_activegate\_plugin.py → build/bdist.linux-x86\_64/wheel  
running install\_egg\_info  
running egg\_info  
creating /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info  
writing /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info/PKG-INFO  
writing dependency\_links to /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info/dependency\_links.txt  
writing requirements to /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info/requires.txt  
writing top-level names to /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info/top\_level.txt  
writing manifest file ‘/home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info/SOURCES.txt’  
reading manifest file ‘/home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info/SOURCES.txt’  
writing manifest file ‘/home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info/SOURCES.txt’  
Copying /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/demo\_activegate\_plugin.egg-info to build/bdist.linux-x86\_64/wheel/demo\_activegate\_plugin-1.3-py3.8.egg-info  
running install\_scripts  
creating build/bdist.linux-x86\_64/wheel/demo\_activegate\_plugin-1.3.dist-info/WHEEL  
creating ‘dist/demo\_activegate\_plugin-1.3-py3-none-any.whl’ and adding ‘build/bdist.linux-x86\_64/wheel’ to it  
adding ‘demo\_activegate\_plugin.py’  
adding ‘demo\_activegate\_plugin-1.3.dist-info/METADATA’  
adding ‘demo\_activegate\_plugin-1.3.dist-info/WHEEL’  
adding ‘demo\_activegate\_plugin-1.3.dist-info/top\_level.txt’  
adding ‘demo\_activegate\_plugin-1.3.dist-info/RECORD’  
removing build/bdist.linux-x86\_64/wheel  
Leaving directory /tmp/tmpghifcabf  
Created distribution of the plugin: [(‘bdist\_wheel’, ‘3.8’, ‘dist/demo\_activegate\_plugin-1.3-py3-none-any.whl’)]  
Installing plugin to temporary location  
Processing /tmp/tmpghifcabf/dist/demo\_activegate\_plugin-1.3-py3-none-any.whl  
Collecting requests\>=2.6.0  
Using cached requests-2.28.1-py3-none-any.whl (62 kB)  
Collecting certifi\>=2017.4.17  
Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)  
Collecting charset-normalizer\<3,\>=2  
Using cached charset\_normalizer-2.1.1-py3-none-any.whl (39 kB)  
Collecting urllib3\<1.27,\>=1.21.1  
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)  
Collecting idna\<4,\>=2.5  
Using cached idna-3.4-py3-none-any.whl (61 kB)  
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests, demo-activegate-plugin  
Successfully installed certifi-2022.9.24 charset-normalizer-2.1.1 demo-activegate-plugin-1.3 idna-3.4 requests-2.28.1 urllib3-1.26.12  
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: [12. Virtual Environments and Packages — Python 3.15.2 documentation](https://pip.pypa.io/warnings/venv)  
Copying plugin to target\_directory: /opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3-1.26.12.dist-info  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna-3.4.dist-info  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi-2022.9.24.dist-info  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests-2.28.1.dist-info  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/bin  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/plugin.json  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/packages  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/\_collections.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/\_version.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/connection.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/connectionpool.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/exceptions.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/fields.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/filepost.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/poolmanager.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/request.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/response.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/\_securetransport  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/\_appengine\_environ.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/appengine.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/ntlmpool.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/pyopenssl.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/securetransport.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/socks.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/\_securetransport/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/\_securetransport/bindings.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/contrib/\_securetransport/low\_level.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/packages/backports  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/packages/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/packages/six.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/packages/backports/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/packages/backports/makefile.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/connection.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/proxy.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/queue.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/request.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/response.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/retry.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/ssl\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/ssl\_match\_hostname.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/ssltransport.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/timeout.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/url.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3/util/wait.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3-1.26.12.dist-info/LICENSE.txt  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3-1.26.12.dist-info/METADATA  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3-1.26.12.dist-info/WHEEL  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3-1.26.12.dist-info/top\_level.txt  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3-1.26.12.dist-info/RECORD  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/urllib3-1.26.12.dist-info/INSTALLER  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/codec.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/compat.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/core.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/idnadata.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/intranges.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/package\_data.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/py.typed  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna/uts46data.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna-3.4.dist-info/LICENSE.md  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna-3.4.dist-info/WHEEL  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna-3.4.dist-info/METADATA  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna-3.4.dist-info/RECORD  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/idna-3.4.dist-info/INSTALLER  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/assets  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/cli  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/api.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/cd.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/constant.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/legacy.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/md.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/models.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/py.typed  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/utils.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/version.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/assets/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/cli/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer/cli/normalizer.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info/LICENSE  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info/METADATA  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info/WHEEL  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info/entry\_points.txt  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info/top\_level.txt  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info/RECORD  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/charset\_normalizer-2.1.1.dist-info/INSTALLER  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi/\_\_main\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi/cacert.pem  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi/core.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi/py.typed  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi-2022.9.24.dist-info/LICENSE  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi-2022.9.24.dist-info/METADATA  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi-2022.9.24.dist-info/WHEEL  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi-2022.9.24.dist-info/top\_level.txt  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi-2022.9.24.dist-info/RECORD  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/certifi-2022.9.24.dist-info/INSTALLER  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/\_\_init\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/\_\_version\_\_.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/\_internal\_utils.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/adapters.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/api.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/auth.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/certs.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/compat.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/cookies.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/exceptions.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/help.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/hooks.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/models.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/packages.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/sessions.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/status\_codes.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/structures.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests/utils.py  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests-2.28.1.dist-info/LICENSE  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests-2.28.1.dist-info/METADATA  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests-2.28.1.dist-info/WHEEL  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests-2.28.1.dist-info/top\_level.txt  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests-2.28.1.dist-info/RECORD  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/requests-2.28.1.dist-info/INSTALLER  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info/METADATA  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info/WHEEL  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info/top\_level.txt  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info/RECORD  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info/INSTALLER  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info/direct\_url.json  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/demo\_activegate\_plugin-1.3.dist-info/REQUESTED  
/opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo/bin/normalizer  
Creating plugin archive  
========================================  
Plugin deployed successfully into /opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo  
Plugin archive available at /opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo.zip  
========================================  
interactive upload → oneagent\_upload\_plugin -p /opt/dynatrace/remotepluginmodule/plugin\_deployment/custom.remote.python.demo.zip -s [https://xxxxxxxxx.live.dynatrace.com:443/api/v1/remoteplugins](https://xxxxxxxxx.live.dynatrace.com:443/api/v1/remoteplugins)&nbsp;-t ################################################################################################  
Attempting to send plugin to server [https://xxxxxxx.live.dynatrace.com:443/api/v1/remoteplugins](https://xxxxxxx.live.dynatrace.com:443/api/v1/remoteplugins)&nbsp;  
server [https://xxxxxx.live.dynatrace.com:443/api/v1/remoteplugins/](https://xxxxxx.live.dynatrace.com:443/api/v1/remoteplugins/)&nbsp; returned status code: 400 {“error”:{“code”:400,“message”:“VALIDATION\_ERROR\_VERSION\_CONFLICT”}}  
Please execute oneagent\_verify\_plugin before upload to validate plugin.json against the schema  
[jc@jc demo\_activegate\_plugin]$ oneagent\_verify\_plugin  
Arguments=Namespace(plugin\_dir=‘/home/jc/ag\_plugin/examples/demo\_activegate\_plugin’, verbose=False)  
Starting oneagent\_verify\_plugin  
Checking plugin metadata: /home/jc/ag\_plugin/examples/demo\_activegate\_plugin/plugin.json  
Validating plugin.json against schema  
“processTypeNames” is deprecated in custom extension JSON definition file. Please use “technologies” instead.  
Plugin custom.remote.python.demo is valid

I installed the SDK on my ActiveGate and am running this command from within my ActiveGate.

---

<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:** [October 10, 2022, 8:34am UTC](https://community.dynatrace.com/t/building-demo-plugin-returns-status-code-400/36825/2 "2022-10-10T08:34:23Z")

</div>

Hi!

That command also uploads the extension to your cluster. The error points to an extension with that name and version already existing on your environment. You can have a look in the UI to confirm it.

if so you’ll either have to delete the extension through the UI, or change the version or the id.

Mike
