Updating the fact node action provider with better messaging and error handling.