changed err msg for unknown agents in profile/state oauth check