Can anyone please help me to understand, why am I getting errors while calling the google cloud function, whereas I\'m not getting an error if I\'m calling the same function