added serializable error messages to invalid data type requests