-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Request to /api/v1/chat.syncMessages
fails with The \"lastUpdate\" query parameter must be a valid date.
#6057
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@OtavioStasiak could it be related to #5992? |
I am not sure, but it could be related to the recent changes made to |
Any news on this? We have this problem also after upgrading to 7.x |
Can you share more information about this issue like when this error occurred and steps so I can give it a try. |
I couldn't reproduce this issue. |
As I said on #6250, that PR could fix the issue theoretically. Just submitted a beta version to the stores. Rocket.Chat iOS: 4.59.0.76580 (https://testflight.apple.com/join/3gcYeoMr) Reopening this issue until we have a confirmation from your side. |
Don't know if its related: often threads arent shown correctly (three different servers). I can not see, that it is a thread. If I open a new thread, all the messages are shown. Regarding lastUpdate we will check server-logs |
Regarding lastUpdate=undefined: i greped our log files. We have only one occurence (RC Mobile; ios 18.4; v4.51.0 (64829)) for the last days. So I guess it's solved? |
@anicoa If your workspace is 7.1+, it's not going to make that request like that
It should appear like this
|
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: