Failed POST to API because of routes setting.Fixed.