Oauth put below v1 api url. Catches more error responses and throws
exceptions.