What is fieldsNotSet error?

When using Iridize in a Single Page Application (SPA), sometime the embed code is executed before the user has logged into the application. In this situation one must call

iridize('api.fields.set', {}) 

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

If within 5 seconds after the page loaded the user is still not set Iridize will issue the fieldsNotSet 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.fields.set' is called the content will be loaded correctly.

Have more questions? Submit a request


Please sign in to leave a comment.