# "invalid tag format" error has occurred while importing the data

**URL:** <https://community.influxdata.com/t/invalid-tag-format-error-has-occurred-while-importing-the-data/26052>\
**Category:** InfluxDB 2\
**Created:** [August 7, 2022, 1:01pm UTC](https://community.influxdata.com/t/invalid-tag-format-error-has-occurred-while-importing-the-data/26052 "2022-08-07T13:01:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mderevyankoaqa](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mderevyankoaqa/32/10707_2.png) [@mderevyankoaqa](https://community.influxdata.com/u/mderevyankoaqa)\
**Post date:** [August 7, 2022, 1:01pm UTC](https://community.influxdata.com/t/invalid-tag-format-error-has-occurred-while-importing-the-data/26052/1 "2022-08-07T13:01:49Z")

</div>

Hi All,

Can you please help me to understand what is wrong to import the following data, I got two different errors from the my community.

The first error:  
ERROR i.g.m.i.v.InfluxDatabaseBackendListenerClient: Error has occurred, batch with size 18 was not imported, see the details → unable to parse ‘requestsRaw,errorMessage=noData,errorResponseBody={“status”:“ok”,“data”:"[[{"type":"areal-title","class":"auth-title","title":"\u0414\u043e\u0431\u0440\u043e\ \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c\<br\ \/\>\u0432\ \u043b\u0438\u0447\u043d\u044b\u0439\ \u043a\u0430\u0431\u0438\u043d\u0435\u0442"},{"type":"areal-text","class":"b-subtitle\ auth-sub","title":"\u041f\u0410\u041e\ «\u041f\u0435\u0440\u0432\u0430\u044f\ \u0413\u0440\u0443\u0437\u043e\u0432\u0430\u044f\ \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f»\ (\u041f\u0413\u041a)"},{"type":"areal-text","class":"mobile-app\ auth-text-mob","title":"\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435\ \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435:"},{"type":"areal-image"}],[{"type":"areal-form","formName":"Auth","formComponents":{"switcher":{"name":"switcher","type":"areal-switcher"},"login":{"id":"login","name":"login","type":"areal-labeled-field","input":"input","placeholder":"\u041b\u041e\u0413\u0418\u041d\ \u0418\u041b\u0418\ EMAIL","title":"\u041b\u043e\u0433\u0438\u043d\ \u0438\u043b\u0438\ email","value":"","field":true,"error":"","show":true,"vif":"form\/visibleLogin"},"password":{"id":"password","name":"password","type":"areal-labeled-field","input":"password","placeholder":"\u041f\u0410\u0420\u041e\u041b\u042c","title":"\u041f\u0430\u0440\u043e\u043b\u044c","value":"","field":true,"error":"","vif":"form\/visibleLogin"},"remember":{"id":"remember","name":"remember","type":"areal-checkbox","value":"Y","title":"\u0417\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c\ \u043c\u0435\u043d\u044f","checked":"","field":true,"error":"","vif":"form\/visibleLogin"},"forgot\_password":{"name":"forgot\_password","type":"areal-link,nodeName=Test-Node,requestName=/api/v1/page\_components/Auth/,responseCode=200,result=pass,runId=R001,testName=Test connectTime=0i,count=1i,errorCount=0i,latency=352i,processingTime=352i,receivedBytes=4976i,responseTime=352i,sentBytes=630i 1659601279652822514’: invalid tag format

Also the issue ["invalid tag format" error message in logs · Issue #59 · mderevyankoaqa/jmeter-influxdb2-listener-plugin · GitHub](https://github.com/mderevyankoaqa/jmeter-influxdb2-listener-plugin/issues/59)

Any ideas why we have this error?  
Many thanks.

---

<div class="post-metadata">

**Author:** ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)\
**Post date:** [August 8, 2022, 11:06am UTC](https://community.influxdata.com/t/invalid-tag-format-error-has-occurred-while-importing-the-data/26052/2 "2022-08-08T11:06:06Z")

</div>

Hi @mderevyankoaqa,

Sorry, your log formatting is a little difficult to read. So to understand, you are finding this

```auto
Node,requestName=/api/v1/page_components/Auth/,responseCode=200,result=pass,runId=R001,testName=Test connectTime=0i,count=1i,errorCount=0i,latency=352i,processingTime=352i,receivedBytes=4976i,responseTime=352i,sentBytes=630i 1659601279652822514

```

Is causing the invalid tag response?

---

<div class="post-metadata">

**Author:** ![mderevyankoaqa](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mderevyankoaqa/32/10707_2.png) [@mderevyankoaqa](https://community.influxdata.com/u/mderevyankoaqa)\
**Post date:** [August 8, 2022, 1:19pm UTC](https://community.influxdata.com/t/invalid-tag-format-error-has-occurred-while-importing-the-data/26052/3 "2022-08-08T13:19:55Z")

</div>

Above we have the **exact** details of the failed request (you see the escaped json/html body) The problem - I really do not understand what is wrong with that request.

We have the plugin, many people are using it. For some cases we have the error “invalid tag format”, so I’m looking at what tag is invalid and why.

Any ideas where I can read the possible problems lead to “invalid tag format”? Many thanks.

---

<div class="post-metadata">

**Author:** ![Jay\_Clifford](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jay_clifford/32/8287_2.png) [@Jay\_Clifford](https://community.influxdata.com/u/Jay_Clifford)\
**Post date:** [August 8, 2022, 2:16pm UTC](https://community.influxdata.com/t/invalid-tag-format-error-has-occurred-while-importing-the-data/26052/4 "2022-08-08T14:16:57Z")

</div>

Hi @mderevyankoaqa,  
Understood, so I ran the following line protocol against InfluxDB Cloud based on the error log you sent (please correct me if I am trying the wrong payload).

```auto
Node,requestName=/api/v1/page_components/Auth/,responseCode=200,result=pass,runId=R001,testName=Test connectTime=0i,count=1i,errorCount=0i,latency=352i,processingTime=352i,receivedBytes=4976i,responseTime=352i,sentBytes=630i 1659601279652822514

```

So when trying manually this line enters InfluxDB as expected. The one within the git issue also passes successfully.

Just looping in @bednar as he manages our client libraries. If you had anymore sample payloads @mderevyankoaqa that we can have so we can reproduce that would be great!
