Error geting the api data