-
Hello, I am doing the following request : https://localhost:8444/api/channels/5662c269-12d9-4a7f-af96-d9dc94946434/messages?textSearchRegex=false&includeContent=false&limit=20&offset=0 It returns only one message. But there are several messages. What am I missing? Thanks for any answer. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I think it is because you are using both limit and offset in your API call. Try removing offset and see if changes the results. |
Beta Was this translation helpful? Give feedback.
-
@siddharthsharma9258 If I remove the offset criteria, the answer is a |
Beta Was this translation helpful? Give feedback.
-
What was the problem?
…On Tue., May 31, 2022, 13:19 boukenka, ***@***.***> wrote:
I could finally get all the messages. Thank you for your help
@siddharthsharma9258 <https://github.com/siddharthsharma9258>
—
Reply to this email directly, view it on GitHub
<#5219 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE4HMDFTOSIJ6WHWKKXOFSLVMZCYRANCNFSM5XNZMIEA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
@siddharthsharma9258 If I remove the offset criteria, the answer is a
<java.lang.NullPointerException>
and the status code is 500. The same goes if I keep the offset criteria and I remove the limit criteria.