Internal server error setting tags via the api

The setting is located in the “settings” tab for each specific category (the same place that you edit the category name).