I am accessing Salesforce Live Agent through REST API. I can create session and send messages from the client. for getting the messages from the server I set timer in client, and each 1.5 seconds I send the request "Messages" to server.
while there is no message from the server, I get the error "Duplicate Message Observer" with statusCode 409.
Why is it happens? Is there any way to avoid the errors?