Adding different error messages for control stream in Streaming API


#1

We are planning to add new error messages in our control stream for Streaming API. This will provide clarity in the error message(s) received when someone submits an add_user as described in [node:2835].

Currently we serve the same error message: “Parameter user_id has too many items specified” in case:

  1. the request attempts to add more than 100 users in the one HTTP request
  2. the request attempts to add users to an existing connection that would go over the 1000-user limit
    per connection

During the week of July 7 2014, we plan to replace this with the following messages for scenarios 1 and 2 respectively:

  1. Parameter user_id has too many items specified
  2. Parameter user_id has too many items in a single request