Yes. Spark in itself doesn’t have occupants limit. What is the error exactly, btw?
If Openfire is used as a server, then it is usually 30 occupants. So, your server admin has actually bumped it to 50 for that particular room or for all rooms (default room setting).