added handling for malformed responses caused by blocked api access