Error communication with 2 xbees

The Xbee are S2
The first is coordinator
The second is end / device