fixed error handling of Graph Request