What is routeNotSet error?

When using Iridize in a Single Page Application (SPA), one must call 

iridize('api.route.wait', {}) 

This tells Iridize that this is an SPA and to wait for the route to be set before loading any content.

If within 5 seconds after the page loaded the route is still not set Iridize will issue the routeNotSet error to the browser's console. This error log was added to assist developers in embedding Iridize. The error does not affect the loading of Iridize and as soon as 'api.route.update' is called the content will be loaded correctly.

To configure this timeout set iridize.setRouteTimeoutMillis in your embed code.

Have more questions? Submit a request


Please sign in to leave a comment.