You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app sends requests to /api/v1/chat.syncMessages?roomId=ROOMID&lastUpdate=undefined. The back end returns an error:
"level":35,"time":"2024-12-13T19:57:58.602Z","pid":1040862,"hostname":"rocketchat","name":"API","method":"GET","url":"/api/v1/chat.syncMessages?roomId=ROOMID&lastUpdate=undefined","userId":"USERID","userAgent":"RC Mobile; android 9; v4.55.0 (70132)","host":"rc.example.com","remoteIP":"USERIP","err":{"type":"errorClass","message":"The \"lastUpdate\" query parameter must be a valid date. [error-roomId-param-invalid]","stack":"Error: The \"lastUpdate\" query parameter must be a valid date. [error-roomId-param-invalid]\n at app/api/server/v1/chat.ts:91:11\n at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\n => awaited here:\n at Function.Promise.await (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n at packages/meteor.js:367:22\n at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1389:31)\n at app/api/server/api.ts:649:39\n at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40","isClientSafe":true,"error":"error-roomId-param-invalid","reason":"The \"lastUpdate\" query parameter must be a valid date.","errorType":"Meteor.Error"},"status":400,"responseTime":2,"msg":"The \"lastUpdate\" query parameter must be a valid date. [error-roomId-param-invalid]"}
Environment Information:
Rocket.Chat Server Version: 6.13.1
Rocket.Chat App Version: v4.55.0 and others
Device Name:
OS Version: Android/iOS all versions
Steps to reproduce:
I cannot provide exact steps to reproduce.
Expected behavior:
The app should always send a date in lastUpdate. Alternatively, the server should accept undefined lastUpdate.
Actual behavior:
N/A
Additional context:
We have some reports by users that they click on push notifications but the message does not load in channels. We suspect that this could be related.
The text was updated successfully, but these errors were encountered:
Description:
The app sends requests to
/api/v1/chat.syncMessages?roomId=ROOMID&lastUpdate=undefined
. The back end returns an error:Environment Information:
Steps to reproduce:
I cannot provide exact steps to reproduce.
Expected behavior:
The app should always send a date in lastUpdate. Alternatively, the server should accept undefined lastUpdate.
Actual behavior:
N/A
Additional context:
We have some reports by users that they click on push notifications but the message does not load in channels. We suspect that this could be related.
The text was updated successfully, but these errors were encountered: