authorization fails when auth.sch api request fails