You mean an Array with just one Obj? Yes I've tried it.. Also "InvalidParam" error.
Example Array: [ { server_timestamp: 2020-08-13T01:21:28.000Z, ordinal: 0 } ]
Nevermind.. seems like a Steam issue... getChatMessageHistory adding empty messages between and when you try to delete this invisible steam messages, you will receive that error.
I just optimized the filter now:
response.messages.filter((x) => !x.deleted && x.message !== '')