locked
Tag expression can not contain more than 20 operands RRS feed

  • Question

  • We are making an api call to notification hub and passing in over 20 tags ids and we are receiving error: "Tag expression can not contain more than 20 operands". Is this an api limitation or is there a setting where we can increase the amount of tags passed in?

    https://{namespace}.servicebus.windows.net/{NotificationHub}/messages/?api-version=2015-01

    Monday, March 4, 2019 12:06 AM

Answers

  • Tag expressions can contain all Boolean operators, such as AND (&&), OR (||), and NOT (!). They can also contain parentheses. Tag expressions are limited to 20 tags if they contain only ORs; otherwise they are limited to 6 tags. Checkout this document section Tag Expressions for more details on this topic.We have a feedback post on a similar request- “ We have increased the tag limit for simple AND expressions (using AND only) to 10 tags.” Kindly take a look and upvote.

    Monday, March 4, 2019 5:47 AM