Xbee servo help

that was the error i get when i run the codes any ideas to fix them and both of my xbees for some reason are unabke to read but when i go into terminal they communicate with eachother

What kind of hardware do you have connected to the arduino that that error is appearing on? How did you cut and paste that from the Arduino display to the forum?

it was just on the arduino program and i uploaded th code successfully and i tried to test it out and then i got it. and i just highlighted copied then pasted into the program.

The Arduino can not cause the IDE to display errors like that at run time. Those errors indicate an inability of the IDE to talk to the Arduino, because the serial port that it is to use is in use.