# fallbackRoute when error on start of app (deep linking)

**URL:** <https://discourse.aurelia.io/t/fallbackroute-when-error-on-start-of-app-deep-linking/485>\
**Category:** Uncategorized\
**Created:** [December 3, 2017, 12:25am UTC](https://discourse.aurelia.io/t/fallbackroute-when-error-on-start-of-app-deep-linking/485 "2017-12-03T00:25:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CRL](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@CRL](https://discourse.aurelia.io/u/CRL)\
**Post date:** [December 3, 2017, 12:25am UTC](https://discourse.aurelia.io/t/fallbackroute-when-error-on-start-of-app-deep-linking/485/1 "2017-12-03T00:25:18Z")

</div>

How do I set a fallback route for when there is an error loaded the page and there is no previous location set in the router?

I get the following error and want to handle it gracefully.

“Router navigation failed, and no previous location or fallbackRoute could be restored.”

Question, is there a method similar to the mapUnkownRoutes() to handle these cases? I.e. mapFallbackRoute()??
