If your bed max is 240x240 x and y max in general should also have that.
What slicer are you using? What is the start and end gcode if you check the gcode. I know cura had some problems assuming G28 changed motion to absolute mode, whcih server does not think so in the end gcode it happened often to get this message.