# ActiveGate plugin SDK broken/changes

**URL:** <https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503>\
**Category:** Extensions\
**Tags:** activegate, extensions\
**Created:** [September 12, 2022, 3:00pm UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503 "2022-09-12T15:00:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [September 12, 2022, 3:00pm UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/1 "2022-09-12T15:00:42Z")

</div>

Hello,

I’m using a docker container with the ActiveGate and ActiveGate Plugin SDK installed for a very long time now.

I just updated the container with the latest ActiveGate and the latest plugin SDK (standard process that always worked in the past).

Now when building the plugin with it, it gives me this error:

 ![r_weber_0-1662994754710.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/f/2f5e39afa98d82727c84b658930f4e0ee822ef25.png)

Suddenly it is looking for a properties.json file which it never needed before? I searched the documentation but couldn’t find anything about it and why it is needed for build\_plugin.

Any ideas?

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [September 12, 2022, 9:36pm UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/2 "2022-09-12T21:36:02Z")

</div>

[@r\_weber](https://community.dynatrace.com/user/35901)

I use extensively properties.json with “plugin\_sdk simulate\_plugin”, but have not ever found it with build\_plugin…

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [September 12, 2022, 9:40pm UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/3 "2022-09-12T21:40:16Z")

</div>

Yes, I believe there is something wrong with the plugin SDK version (latest one 1.247). I NEVER used properties.json in any of my active gate plugin builds, but suddenly “plugin\_sdk” is asking for properties.json - failing if it isn’t found and also failing if it is found and contains some properties…

Unfortunately I do not have an older plugin SDK available to test if it is the version …

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [September 12, 2022, 10:07pm UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/4 "2022-09-12T22:07:39Z")

</div>

[@r\_weber](https://community.dynatrace.com/user/35901),

Not sure if they are environment tailored? Doesn’t seem to be the case. Have a 241 version if you are interested?

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [September 12, 2022, 10:10pm UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/5 "2022-09-12T22:10:37Z")

</div>

No the plugin sdk is not environment tailored for sure.

Any way you can share the old sdk version? This is driving me crazy, used to be a 5min job to update my build env, but can’t get it to work with the current SDK now 😞

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [September 13, 2022, 8:41am UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/6 "2022-09-13T08:41:06Z")

</div>

Thanks for sharing the old SDK, unfortunately same issue.

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [September 13, 2022, 8:43am UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/7 "2022-09-13T08:43:26Z")

</div>

Not sure if this is intended but it seems although I installed the AG Extension SDK the “plugin\_sdk build\_plugin” command always tries to build a ONEAGENT extension and not an AG extension?

```markup
root@229ce6c8df31:/plugin# plugin_sdk build_plugin
Arguments=Namespace(deployment_dir=None, no_cert_ver=False, no_upload=False, plugin_dir='/plugin', server=None, token=None, token_file=None, verbose=False)
Starting oneagent_build_plugin

```

---

<div class="post-metadata">

**Author:** ![ben\_davidson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ben_davidson/32/20391_2.png) [@ben\_davidson](https://community.dynatrace.com/u/ben_davidson)\
**Post date:** [September 13, 2022, 10:22am UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/8 "2022-09-13T10:22:30Z")

</div>

Your Traceback message references a problem coming from the [jsonschema](https://pypi.org/project/jsonschema/) package. This is a dependency of plugin\_sdk. There was a [change](https://github.com/python-jsonschema/jsonschema/issues/981) made in version 4.10.0 of jsonschema that seems to have broken several tools that depend on it.

For now, the best course of action is downgrade your version of jsonschema to \<=4.9.1. Run the command:

```python
pip install jsonschema==4.9.1

```

There is a more detailed set of instructions available [here.](https://community.dynatrace.com/post/193727)

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [September 13, 2022, 10:54am UTC](https://community.dynatrace.com/t/activegate-plugin-sdk-broken-changes/36503/9 "2022-09-13T10:54:30Z")

</div>

That did the trick! Thanks!
