Check the username and password entered in the channel manager settings is correct.
'''RateId XXX is invalid, rate plan should be active, inactive, or staged''' and or '''Rate not active'''
You can only update IDs which you see when you click on "Get Codes". Check all codes entered in SETTINGS-CHANNEL MANAGER-EXPEDIA, the "Channels" tab of your rates (if rates are used) and your daily prices.