# Polling finished with issues for endpoints: xxx.yyy.zzzz:1433/master

**URL:** <https://community.dynatrace.com/t/polling-finished-with-issues-for-endpoints-xxx-yyy-zzzz-1433-master/49842>\
**Category:** Extensions\
**Tags:** databases, extensions\
**Created:** [January 21, 2025, 3:17pm UTC](https://community.dynatrace.com/t/polling-finished-with-issues-for-endpoints-xxx-yyy-zzzz-1433-master/49842 "2025-01-21T15:17:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarathkumar1](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Sarathkumar1](https://community.dynatrace.com/u/Sarathkumar1)\
**Post date:** [January 21, 2025, 3:17pm UTC](https://community.dynatrace.com/t/polling-finished-with-issues-for-endpoints-xxx-yyy-zzzz-1433-master/49842/1 "2025-01-21T15:17:39Z")

</div>

I have created a Dynatrace sql query extension as mentioned in the Youtube Video&nbsp;[A Practical Guide to SQL Extensions with Dynatrace - YouTube](https://www.youtube.com/watch?v=t9kHPKL9yKY).

After creating and signing the extension, I am getting the below error in the logs.

warn

2025-01-21 14:59:36.834&nbsp;SFM Event

ContentPolling finished with issues for endpoints: xxx.xx.xx:1433/master

warn2025-01-21 14:58:37.010SFM EventContentEndpoint: xxx.xx.xx:1433/master&nbsp;group ‘Latest data’ did not produce any metrics. Subgroups will not be polled.

**Below is the source code:**

```python
name: custom:custom.db.query.2.0
version: "0.0.4"
minDynatraceVersion: "1.279.0"
author:
  name: John Doe

metrics:
  - key: my.sql.status.value
    metadata:
      displayName: My Values
      unit: Count

sqlServer:
  - group: Latest data
    featureSet: Latest
    interval:
      minutes: 1
    ingest: metrics
    query: >
      select count (id) as count 
      from master.chart WITH (NOLOCK) where 
      creation_date > DATEADD(minute, -15, GETDATE())
    metrics:
      - key: my.sql.status.value
        value: col:count

    dimensions:
      - key: stat_name
        value: const:latest

```

How can i fix it?  
The connection details seem to be fine. The same query and database were used in fetching the data using custom.db.query extension. It got deprecated. that is why I have created a new extension.

---

<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:** [January 28, 2025, 1:54pm UTC](https://community.dynatrace.com/t/polling-finished-with-issues-for-endpoints-xxx-yyy-zzzz-1433-master/49842/2 "2025-01-28T13:54:37Z")

</div>

The error message indicates that the query didn’t return any data or that there was something wrong with it.

The code looks fine at first glance, so if you’re 100% sure that the query is returning data for the user you have configured in the extension, then your next step should be to get a support archive for the ActiveGate which is running that extension (or going into the AG directly) and having a look into the logs /remotepluginmodule/log/extensions/datasources/\<your-ext-name\>.

There should be some more info on what happened with your query. Either that it failed or that it returned 0 rows.
