However we are having issues when creating a new category without a helpful error message
- Category newCategory = new Category();
- newCategory.setName("TokenPrinter");
- mInventoryConnector.createCategory(newCategory);
this throws a client exception:
if instead I use:
- statusCode = UNKNOWN;
- statusMessage = null
this throws a client exception
- Category newCategory = new Category();
- mInventoryConnector.createCategory(newCategory);
- statusCode = 400;
- statusMessage = Invalid category:Name is required to be non-null
But as you can see from the first attempt providing a name does not resolve the issue and there is no follow up message.
Any Light you can shed on this would be appreciated.