influxdata / influxdata/docs-v2

Tag values can't end in \

Open
#5,481 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

Even if escaped, a tag vaulue can't end in a backslash `\`

So, sending this:
`h2o,city=EastCalifornia,location=a\\,region=asdf water_level=20.0 2`

Results in an error:
`HTTP status code: 400; Message: unable to parse 'h2o,city=EastCalifornia,location=a\\,region=asdf water_level=20.0 20': invalid tag format`

This was already mentioned in an earlier version of the docs, see https://github.com/influxdata/docs.influxdata.com-ARCHIVE/issues/2676, but was removed at a later point, without the restriction being removed.

##### Relevant URLs
- https://github.com/influxdata/docs.influxdata.com-ARCHIVE/issues/2676
- https://github.com/influxdata/influxdb-client-java/pull/720

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the tag-value escaping documentation in docs-v2 alongside the archived issue #2676 and influxdb-client-java PR #720. Confirm whether tag values ending in an escaped backslash remain invalid, then document the restriction and example so the documentation matches the observed parser behavior.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.