Rooms

User errors are prefixed with 001.

Error list

  • Room not found

This error is thrown when trying to get a room but no match is found. This could happen when getting rooms, updating rooms, deleting rooms, connecting to a room, etc.

  • Error code: 001

  • HTTP status: 404 Not found

  • Room incomplete data

This error is thrown when application at some point of the request process gets room information but don’t have all the required fields. This could happen in two situations.

  1. When client provides incomplete room information and the server don’t handle that.
  2. When inside a server process room is not passed correctly.
Remember

This is an internal server error, only happens when something in server don’t happen as expected. Either due to a programmer error or an unexpected error.

  • Error code: 002

  • HTTP status: 500 Internal server error

  • Room connection exist

This error is raised when a user tries to connect to a room while there is an existing connection associated with him. This should be handled automatically by the server closing the first connection and allowing the second one.

  • Error code: 003

  • HTTP status: 500 Internal server error

  • Room not empty

This error happens when trying to remove a room where there are connections already. This should be handled by the server.

  • Error code: 004

  • HTTP status: 500 Internal server error

  • Signaling not found

This error happens during the signaling process while establishing a webrtc connection. When after trying to respond an offer this offer is not found, then this error is raised.

  • Error code: 005

  • HTTP status: 404 Not found

  • Signaling incomplete data

This error is raised when the server recieves signaling data but there are missing fields. This is an unexpected error and it’s rare that a consumer finds an error like this.

  • Error code: 006

  • HTTP status: 500 Internal server error

  • Room socket not found

This error happens when the application tries to emit an event for a specific socket but this socket is not found.

  • Error code: 007
  • HTTP status: 404 Not found