# Help on SQL DB2 extension

**URL:** <https://community.dynatrace.com/t/help-on-sql-db2-extension/46984>\
**Category:** Extensions\
**Tags:** databases, extensions\
**Created:** [August 3, 2024, 4:51pm UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984 "2024-08-03T16:51:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkata\_s\_matta](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@venkata\_s\_matta](https://community.dynatrace.com/u/venkata_s_matta)\
**Post date:** [August 3, 2024, 4:51pm UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984/1 "2024-08-03T16:51:21Z")

</div>

Hello Everyone,

I am new to building the custom extension 2. 0

I created the YAML as per the documentation and I am trying to build the extension, i am getting the below error messages in VSCODE

Property minDynatraceVersion is not allowed.

Property author is not allowed.

Property sqlDb2 is not allowed.

Could you please help me here how to point to the right schemas here?

 ![Error_Ouput.JPG](https://global.discourse-cdn.com/dynatrace/original/3X/b/6/b6e38c795f277a87f0a97dbbbcb9f5ad82f7ac6f.jpeg)  
 ![YAML.JPG](https://global.discourse-cdn.com/dynatrace/original/3X/b/b/bb5e52d6ddb3cf8786ea9d1938ba3d2657a543b0.jpeg)

---

<div class="post-metadata">

**Author:** ![Tom\_sSeroteRoos](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Tom\_sSeroteRoos](https://community.dynatrace.com/u/Tom_sSeroteRoos)\
**Post date:** [August 5, 2024, 11:20am UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984/2 "2024-08-05T11:20:58Z")

</div>

Sounds like you loaded in a older version of the schema. Can you try running the VSCode Load schemas command and selecting one of the newer ones? Make sure to download it when prompted.

 ![TomsSeroteRoos_0-1722856817416.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/e/0eef1a831c297823016db8e79b12d6deb70de211.png)

---

<div class="post-metadata">

**Author:** ![venkata\_s\_matta](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@venkata\_s\_matta](https://community.dynatrace.com/u/venkata_s_matta)\
**Post date:** [August 5, 2024, 2:08pm UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984/3 "2024-08-05T14:08:13Z")

</div>

Thank you. I can build and upload. When I configure it, I get the below error please let me know if I miss anything when I upload it

Failed to assign monitoring configuration to ActiveGate. Reason: Cannot extract extension from C:\ProgramData\dynatrace\remotepluginmodule\/agent/runtime\extensions\download\custom\_my.sql.pcg: checking signature failed

---

<div class="post-metadata">

**Author:** ![Tom\_sSeroteRoos](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Tom\_sSeroteRoos](https://community.dynatrace.com/u/Tom_sSeroteRoos)\
**Post date:** [August 5, 2024, 2:13pm UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984/4 "2024-08-05T14:13:46Z")

</div>

Did you follow the [instructions here](https://docs.dynatrace.com/docs/shortlink/sign-extension#upload) to upload your root certificate to the ActiveGate? VSCode takes care of most stuff for you, but uploading the certificate you’ll probably have to do manually.

You can check the path of the root certificate generated by the VSCode extension in the extension settings.

---

<div class="post-metadata">

**Author:** ![venkata\_s\_matta](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@venkata\_s\_matta](https://community.dynatrace.com/u/venkata_s_matta)\
**Post date:** [August 5, 2024, 8:36pm UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984/5 "2024-08-05T20:36:27Z")

</div>

When i did&nbsp; pip show dt-cli from PowerShell

Output :

Name: dt-cli  
Version: 1.6.18  
Summary: Dynatrace CLI  
Home-page: [GitHub - dynatrace-oss/dt-ext-cli: A command line utility that assists in signing, building and uploading extensions for Dynatrace Extension Framework 2.0. · GitHub](https://github.com/dynatrace-oss/dt-cli)  
Author: Vagiz Duseev  
Author-email: [vagiz.duseev@dynatrace.com](mailto:vagiz.duseev@dynatrace.com)  
License: Apache-2.0  
Location: C:\Users\vsm754\AppData\Roaming\Python\Python312\site-packages  
Requires: asn1crypto, click-aliases, cryptography, jsonschema, PyYAML, requests, typer, wheel

but for the&nbsp;dt ext genca

Output:  
dt : The term ‘dt’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.  
At line:1 char:1  
+ dt ext genca  
+ ~~  
+ CategoryInfo : ObjectNotFound: (dt:String) [], CommandNotFoundException  
+ FullyQualifiedErrorId : CommandNotFoundException

Please help me what i am missing here.

---

<div class="post-metadata">

**Author:** ![Tom\_sSeroteRoos](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Tom\_sSeroteRoos](https://community.dynatrace.com/u/Tom_sSeroteRoos)\
**Post date:** [August 6, 2024, 5:38am UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984/6 "2024-08-06T05:38:09Z")

</div>

Seems like you are trying to sign the extension again, which you shouldn’t need to do since the VSCode extension already does that for you. What you should do is fetch the certificate VSCode generated, which is by default in a path which looks like this:

```markup
c:\Users\<username>\AppData\Roaming\Code\User\workspaceStorage\<UUID>\DynatracePlatformExtensions.dynatrace-extensions\certificates\ca.pem

```

You can find the exact path in the VSCode extension settings.

 ![TomsSeroteRoos_0-1722922562094.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6c7248a6ca3db5d03b6276fc8ac59ef053d176a5.png)

Alternatively, run the VSCode “Distribute certificate” command and go fetch it from the AG/OA certificate directory so that you can then upload it to the host/AG you are trying to deploy the extension on, as per the instructions the docs I linked above.

---

<div class="post-metadata">

**Author:** ![venkata\_s\_matta](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@venkata\_s\_matta](https://community.dynatrace.com/u/venkata_s_matta)\
**Post date:** [August 12, 2024, 2:45pm UTC](https://community.dynatrace.com/t/help-on-sql-db2-extension/46984/7 "2024-08-12T14:45:37Z")

</div>

Thankyou it’s work
