It seems like you use two switches to control one light. It is consistent with the operation principle of two-way switch. The two-way light switch must be connected with one Live Line and one Negative line. And communication line btween two switches must be connected to work normally.