Every once in a while I come across some strange data inconsistencies in the REST API. In the most recent case, it seems that
author of the Conversation Part Model seems to be
null (reported by customer, identified via error message, but can’t be replicated).
Two questions regarding this:
- I couldn’t find anything in the API docs that mentions that
authorin Conversation Part Model can be null. Do I have to assume that author can be null?
- Is this something Intercom would fix on the customers side, i.e. in his workspace/dataset?
I certainly could fix this on my side by adding a null check when I read an author. However, this seems to be a rather random fix. Patching my code whenever customers have inconsistent data leads to bad and difficult to understand code.