better error handling if the Guardian API fails