api failed, need to figure out solution