After querying the user's chats, we found 2 chats with different ID's. One with the usual id: 19:user-1-id_user-2-id:@unq.gbl.spaces
. The other with an ID we've not seen before: 48:notes
After further looking further into this, we found the content to be similar
{"chatId": "19:user-1-id_user-2-id:@unq.gbl.spaces", "body": {"contentType": "html", "content": "<p><span style=\"font-size:14px; font-style:inherit; font-weight:inherit\">... this morning and afternoon</span></p>"}}
{"chatId": "48:notes""body": {"contentType": "html","content": "<p>... this morning</p>"}}
Note that there is added text to the correct chat, as well as the added <span/>
tag
When querying /v1/chats/48:notes
, we get the error: {"error":{"code":"BadRequest","message":"{\"errorCode\":0,\"message\":\"Notes is not flighted\"}, ...}"
. We're not totally sure what the error means, but it seems like this feature is not yet turned on yet?
Can't seem to find any documentation on this error either.
Other Notes:
- This conversation is a 1v1 conversation, when querying the other user of the conversation, we find the message with the right chatId, but not with
48:spaces
chat.
- When calling
/v1/notes/:user_id
, we get response: {"error": {"code": "BadRequest", "message": "Resource not found for the segment 'notes'.", ...}
. So I'm not sure that notes have been set up for this user.
- When calling
/v1/chats/51:notes
or /v1/chats/25:notes
, we get the response: {"error": {"code": "BadRequest","message": "{\"errorCode\":201,\"message\":\"The Thread Id is invalid\"}"....}
,. Leading us to believe that 48:notes
is a valid chat id.