getCast function data upload working, promise flag is not working.