I'm getting below error while adding the Capability tags?

Here is the error I received:

caps.setCapability("tags", customTags); org.openqa.selenium.WebDriverException: No of tags must be less than 6 in a single test (WARNING: The server did not provide any stacktrace information)

Hello Macy,

In adding customTags, we do have a limit of 5 custom tags.

For more information regarding this, please refer to this link: