React direct link with params

I am trying to create url with params
<Route path="/updatecard/:uniqueKey" component={UpdateCard} />
it works if I do history.push("/updatecard/one")
but if i try to access url direcly using localhsot:4002/updatecard/one i am getting error and blank screen.
what am I missing ?
with react router is works fine but for some reason its not working with ionic.