check for errors on oauth call