CFY-1222 bug fix, properly handle error and result when using non graph api in local tasks