# Grafana plugin validator errors

**URL:** <https://community.grafana.com/t/grafana-plugin-validator-errors/116287>\
**Category:** Grafana Plugin Development\
**Tags:** plugins\
**Created:** [March 6, 2024, 10:59am UTC](https://community.grafana.com/t/grafana-plugin-validator-errors/116287 "2024-03-06T10:59:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamedyacoubi](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@mohamedyacoubi](https://community.grafana.com/u/mohamedyacoubi)\
**Post date:** [March 6, 2024, 10:59am UTC](https://community.grafana.com/t/grafana-plugin-validator-errors/116287/1 "2024-03-06T10:59:16Z")

</div>

Hello Grafana community,

**Context:**

- Custom Panel created using `npx @grafana/create-plugin@latest`
- Framework used: React in TypeScript

We’re developing a custom community Grafana panel plugin and we’re encountering a problem when using the [Grafana plugin validator](https://github.com/grafana/plugin-validator). I followed these steps to try to validate our plugin before submitting it for review:

```bash
PLUGIN_ID=$(grep '"id"' < src/plugin.json | sed -E 's/.*"id" *: *"(.*)".*/\1/')
cp -r dist "${PLUGIN_ID}"
zip -qr "${PLUGIN_ID}.zip" "${PLUGIN_ID}"
npx @grafana/plugin-validator@latest -sourceCodeUri file://. "${PLUGIN_ID}.zip"

```

We’re actually getting this output (the same output for the local version):

```powershell
error: The provided JavaScript/TypeScript source code does not match your plugin archive assets.
detail: Verify the provided source code is the same as the one used to generate the plugin archive. If you are providing a git repository URL, make sure to include the correct ref (branch or tag) in the URL.

The following 1 file(s) differ when comparing source map with source code.
 - ./palindrome/ sync

warning: unsigned plugin
detail: This is a new (unpublished) plugin. This is expected during the initial review process. Please allow the review to continue, and a member of our team will inform you when your plugin can be signed.

warning: plugin.json: should include screenshots for the Plugin catalog
detail: Screenshots are displayed in the Plugin catalog. Please add at least one screenshot to your plugin.json.

error: module.js: should not include tracking scripts
detail: Tracking scripts are not allowed in Grafana plugins (e.g. Google Analytics). Please remove any usage of tracking code. Found: om.au

```

1. Do you have any idea about the first error?

2. Regarding the second error, we are using a built (minified) version of our open-source library, [Palindrome.js](https://github.com/Smile-SA/palindrome.js/), as a third-party library inside our custom plugin panel React project. The error is telling us **“Please remove any usage of tracking code. Found: om.au”** , but actually, the `om.au` that it found is coming from this instruction “i.config.chart.zo **om.au** toScaleYaxis” that exists in our built file and it is not a tracking code. Any idea how to solve this?

Thank you for your assistance!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [March 6, 2025, 11:00am UTC](https://community.grafana.com/t/grafana-plugin-validator-errors/116287/2 "2025-03-06T11:00:09Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
