platform doesn't redirect to home when API call request is made without lang code