Skip to main content

Issue with Space and / in People Tags search

Was building app that to search for for people with specific tags using api call : GET https://foobar.nationbuilder.com/api/v1/tags/tagname/people , but it returns code t=404(NOT FOUND) if tag tagname string contains space or "/".   This was not expected as spaces and / characters do not seem create search problems in other Tag searches on Nationbuilder outide of the API.

Official response from submitted

Mark, note that commas have specific functionality in the native tagging feature (splitting a comma-separate value into multiple tags) - however, other punctuation in tags can be handled through the API with standard HTML URL encoding. Here's a helpful resource for the encoding for different characters, including spaces and forward slashes:

http://www.w3schools.com/tags/ref_urlencode.asp

Showing 3 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.