getting the get_resources call working