sakibguy / worked-issues

arget medi a[rpescriptionmedicie] &ssets[dr] (reeeverse._ax:p)
2 stars 0 forks source link

[ORG] SG-MYALICE: messenger-chat response _id: null #111

Closed sakibguy closed 1 year ago

sakibguy commented 1 year ago

PROB

When sending/posting text msg, getting api/crm/tickets/$id/messenger-chat response _id: null

I/flutter (11463): [---ok---] sendChats: 2 {success: true, dataSource: {_id: null, type: message, source: admin, platform_type: facebook_messenger, platform_id: 1361, customer_id: 1043, project_id: 375, data: {type: text, data: {text: a}}, conversation_id: m_iUuuVitsngrL4oRDvz7V3k6MoMJwaz_uVqGmpI3rBU_Pe_4zwKGNL4mH2LKJM1S_OLTSzBvNu-k5Y9w47sdu2g, timestamp: 1671215406559, admin_id: 256, admin_info: {id: 256, email: masuma+1@myalice.ai, avatar: https://s3-ap-southeast-1.amazonaws.com/stage-alice-v3/misc/7f2bdade109811ecabd40242c0a82005.jpeg, full_name: Masuma Imu}, success: null, pusher_key: ea9691aa328f41eb965ed576f912cdb2}}

impact on addToChatResponse()

I/flutter (11463): [---ok---] addToChatResponse(): {id: null, type: message, source: admin, platform_type: facebook_messenger, platform_id: 1361, customer_id: 1043, project_id: 375, data: null, conversation_id: m_iUuuVitsngrL4oRDvz7V3k6MoMJwaz_uVqGmpI3rBU_Pe_4zwKGNL4mH2LKJM1S_OLTSzBvNu-k5Y9w47sdu2g, timestamp: 1671215406559, admin_id: 256, admin_info: {id: 256, email: masuma+1@myalice.ai, avatar: https://s3-ap-southeast-1.amazonaws.com/stage-alice-v3/misc/7f2bdade109811ecabd40242c0a82005.jpeg, full_name: Masuma Imu}, success: null, pusher_key: ea9691aa328f41eb965ed576f912cdb2}
I/flutter (11463): [---ok---] addToChatResponse():

SNaP

Screenshot (613)

sakibguy commented 1 year ago

SOLn

Not a major issue as already dev_branch working https://github.com/alice-labs/myalice_app/tree/dev_branch

messenger-chat (post)

{“success”:true,“dataSource”:{“_id”:null,“type”:“message”,“source”:“admin”,“platform_type”:“facebook_messenger”,“platform_id”:1361,“customer_id”:1043,“project_id”:375,“data”:{“type”:“text”,“data”:{“text”:“Test”}},“conversation_id”:“m_iUuuVitsngrL4oRDvz7V3k6MoMJwaz_uVqGmpI3rBU_Pe_4zwKGNL4mH2LKJM1S_OLTSzBvNu-k5Y9w47sdu2g”,“timestamp”:1671354359160,“admin_id”:256,“admin_info”:{“id”:256,“email”:“[masuma+1@myalice.ai](mailto:masuma+1@myalice.ai)”,“avatar”:“https://s3-ap-southeast-1.amazonaws.com/stage-alice-v3/misc/7f2bdade109811ecabd40242c0a82005.jpeg”,“full_name”:“Masuma Imu”},“success”:null,“pusher_key”:“daad4d57314c4e76a1b80b40fb7624fb”}}

pusher response after send msg or post through messenger-chat

Data: {“type”: “message”, “source”: “admin”, “platform_type”: “facebook_messenger”, “platform_id”: 1361, “customer_id”: 1043, “project_id”: 375, “conversation_id”: “m_GGe8bMP4zAq7U8WbpHUvlU6MoMJwaz_uVqGmpI3rBU9QjESX8MBklWpEU4oNEm2KNXxRQGLbzN__XXVTgFs1GA”, “success”: true, “report”: {“recipient_id”: “4533558773428509”, “message_id”: “m_GGe8bMP4zAq7U8WbpHUvlU6MoMJwaz_uVqGmpI3rBU9QjESX8MBklWpEU4oNEm2KNXxRQGLbzN__XXVTgFs1GA”}, “timestamp”: 1671354361357, “admin_id”: 256, “admin_info”: {“id”: 256, “email”: “[masuma+1@myalice.ai](mailto:masuma+1@myalice.ai)”, “avatar”: “https://s3-ap-southeast-1.amazonaws.com/stage-alice-v3/misc/7f2bdade109811ecabd40242c0a82005.jpeg”, “full_name”: “Masuma Imu”}, “_id”: “639ed7f91cdcf448f2bc6700”, “pusher_key”: “daad4d57314c4e76a1b80b40fb7624fb”, “data”: {“type”: “text”, “data”: {“text”: “Test”}}, “dataV2": {“type”: “text”, “success”: true, “error”: “”, “text”: “Test”, “payload”: “”}}, User Id: null

SNaP

1 2

sakibguy commented 1 year ago

Ignore deep data analysis as being working fine under dev_branch including this null issue. So closing this issue.