Did some server configuration too allow the cross domain calls we are making. That is -- API to frontend and vise versa.