You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add_tags() treats spaces in a tag as delimiter resulting in multiple tags #1738
To Reproduce
workbook_id ="abc123"
workbook= server.workbooks.get_by_id(workbook_id)
tag1 = "tagOne"
tag2 = "tag One"
server.workbooks.add_tags(workbook, tag1)
#adds single tag "tagOne"
server.workbooks.add_tags(workbook, tag2)
#adds 2 tags "tag" and "One"
Results
Spaces in a tag creates multiple tags using add_tags(). Spaces are allowed in tags directly in the UI so this creates incorrect tags. ie. "Yearly Sales" will be "Yearly" and "Sales" instead of a single tag.
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.
Activity
jorwoods commentedon Jan 30, 2026
Encapsulating in double quotes fixes the issue. E.G
new_tag = '"Yearly Sales"'fix: quote tag labels containing spaces or commas in XML request
fix: quote tag labels containing spaces or commas; add e2e test suite
fix: quote tag labels containing spaces or commas in XML request
fix: quote tag labels containing spaces or commas; add e2e test suite
fix: quote tag labels containing spaces or commas (#1782)