API call still going through but view not showing