Added type to appId and uploadUrl variables after PR feedback.