Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Creating Tracking Category Option with consecutive spaces

Started by Chris Morison -   in API Endpoints

Hi,

When creating/editing a Tracking Category Option in the Xero website, if you try to add an option with consecutive spaces you get the error "An error occurred for the following reason: Please remove consecutive spaces."

However, when creating an option with consecutive spaces via the node api (latest xero-node 4.17.0), it doesn't create the option, but it doesn't throw any validation errors either. It just returns the new trackingCategoryOption in the response but it doesn't have an ID.

Is this a known bug in the API?

Cheers,

Chris.